摘要: 文献【1】中列表了几个C语言技巧。如1、通过静态分配存储空间来初始化特定索引值的指针数组。View Code /* Entries may not correspond to actual numbers. Some entries omitted. */#define EINVAL 1#define ENOMEM 2#define EFAULT 3/* ... */#define E2BIG 7#define EBUSY 8/* ... */#define ECHILD 12/* ... */char *err_strings[] = {[0] = "Success",[ 阅读全文
posted @ 2012-04-26 21:29 浪里飞 阅读(417) 评论(0) 推荐(0) 编辑