摘要: 1、面试宝典预处理,const,sizeof Define作用定义函数: //用一个宏定义FIND求一个结构体struc里某个变量相对于struc的偏移量,如FIND(student,a)//等于0 FIND(student,b)//等于4#include#define FIND(strucrr,e) (unsigned int)&(((strucrr *)0)->e)struct stud... 阅读全文
posted @ 2014-03-19 20:06 yexuannan 阅读(538) 评论(0) 推荐(0) 编辑