haitao · 2004-12-17 07:37:20 · 阅读: 571 在日志函数里定义文件指针... 写日志函数() { FILE* f=NULL; if (commlogHead(&f,withdate)!=0) ... ... }