2013年7月19日

c字符数组里的中文

摘要: char *p ="你abc";strlen(p); //6 utf-8编码中 阅读全文

posted @ 2013-07-19 10:36 andyhe 阅读(520) 评论(0) 推荐(0) 编辑

linux NULL 的定义

摘要: #undef NULL#if defined(__cplusplus)#define NULL 0#else#define NULL ((void *)0)#endif 阅读全文

posted @ 2013-07-19 00:01 andyhe 阅读(1296) 评论(0) 推荐(0) 编辑

导航