1、#define INITIAL_STRUCT(st)? memset(&st, 0, sizeof(st))? /*initial a struct*/
2、profiler工具可以用來檢查程序效率。
3、文件A
??????funtion f
??????文件B
??????#include "A"
??????extern?f
??????此處用法錯誤,對函數f進行了重定義。
posts - 86, comments - 43, trackbacks - 0, articles - 7 |
||||||||||||||||||||||
1、#define INITIAL_STRUCT(st)? memset(&st, 0, sizeof(st))? /*initial a struct*/
3、文件A
??????文件B
|
||||||||||||||||||||||