2014年1月8日

程序调试过程中的日志文件源码

摘要: 主要运行在VC6++环境下!1 日志文件记录源代码: 1 #include 2 #include 3 #include 4 void my_log(char *strlog) 5 { 6 7 int ret; 8 9 time_t t;10 struct tm *tp;11 char curTime[100] = {0};12 13 char filename[]="info.log";14 char *fopentype = "a+";15 FILE *fp = NULL;16 fp = fopen(... 阅读全文

posted @ 2014-01-08 15:31 鹰之翔 阅读(228) 评论(0) 推荐(0) 编辑

导航