摘要:
g_FileSavePath = new char[len]; memset(g_FileSavePath, 0 ,sizeof(char)*len); strcpy(g_FileSavePath, SaveFilePath.toStdString().c_str()); char name[64] 阅读全文
posted @ 2017-11-28 16:38
wjbooks
阅读(289)
评论(0)
推荐(0)
摘要:
首先,分析下面的代码片段: 显然,头文件中的编译宏“#ifndef SRC_DEMO_H、#define SRC_DEMO_H、#endif”的作用是防止该头文件被重复引用(详见建议9)。那么,extern "C"又有什么特殊的作用呢?暂且先留着这个疑问。 C++语言被称做“C with class 阅读全文
posted @ 2017-11-28 14:59
wjbooks
阅读(2335)
评论(0)
推荐(0)
摘要:
http://book.51cto.com/art/201202/317549.htm 编码质量150建议 总体分两个部分,一个是:http://hi.baidu.com/bellgrade/item/179ff5374b74eef6e7bb7aa6 写的比较容易理解。 另一个是 http://bo 阅读全文
posted @ 2017-11-28 11:18
wjbooks
阅读(1694)
评论(0)
推荐(0)

浙公网安备 33010602011771号