摘要: // Log.h#ifndef LOG_H#define LOG_H#include #include #include #include using namespace std;/** * 用于输出log文件的类. */class Log{public: Lo... 阅读全文
posted @ 2014-01-06 19:08 00000000O 阅读(170) 评论(0) 推荐(0)
摘要: 1 ASSERTDebug下用,检测错误assert(fin != NULL && fout != NULL);断言,在debug模式下,当fin或者fout其中一个为空时,程序就会被断下,弹出一个断言窗口,表示这两个变量中的一个或则两个为空,程序有异常2 LogOK... 阅读全文
posted @ 2014-01-06 14:29 00000000O 阅读(244) 评论(0) 推荐(0)