12 2016 档案

摘要:看这个结构体的定义:typedef struct st_type{ int nCnt; int item[0];}type_a;(有些编译器会报错无法编译可以改成:)typedef struct st_type{ int nCnt; int item[];}type_a; 这样我们就可以定义一个可变 阅读全文
posted @ 2016-12-22 13:34 ysDu 阅读(1632) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/ggjucheng/archive/2011/12/18/2292090.html 阅读全文
posted @ 2016-12-20 19:49 ysDu 阅读(114) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/qll125596718/article/details/6891881/ 阅读全文
posted @ 2016-12-20 19:35 ysDu 阅读(594) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/qll125596718/article/details/6891881/ 阅读全文
posted @ 2016-12-20 19:35 ysDu 阅读(180) 评论(0) 推荐(0)
摘要:看一些程序的时候老是有“#ifdef __cplusplusextern "C" {#endif”的定义,搞搞清楚是怎么回事: Microsoft-Specific Predefined Macros__cplusplus Defined for C++ programs only. 意思是说,如果 阅读全文
posted @ 2016-12-12 10:53 ysDu 阅读(314) 评论(0) 推荐(0)