橘子皮

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2007年3月1日

摘要: 由于调试及需要可能会经常要记录相关的信息至文件中以便查看,所以写了这个方法,希望对大家有用。 #pragma once #i nclude <fcntl.h>#i nclude <sys/types.h>#i nclude <sys/stat.h>#i nclude <io.h>#i nclude <stdio.h> int LogWrite(const char *Format, ...);CFile g_logFile = CFile::hFileNul... 阅读全文
posted @ 2007-03-01 17:25 橘子皮 阅读(273) 评论(0) 推荐(0)