![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Typdef应用
JidanIt
这个作者很懒,什么都没留下…
展开
-
typedef使用大全
typedef使用大全1(数组) typedef到处都是,但是能够真正懂得typedef使用的不算太多。对于初学者而言,看别人的源码时对到处充斥的typedef往往不知所错,而参考书又很少,所以在此给出一个源码,供大家参考#include #include /* 避免Visual C的for与标准for的不同 */#define for if (0);原创 2008-07-15 10:47:00 · 489 阅读 · 0 评论 -
关于 typedef struct 和 struct
关于 typedef struct 和 struct 请高手帮忙解释以下几种结构体定义的区别: struct{ int x; int y; }test1; struct test {int x; int y; }test1; typedef struct test {int x; int y }text1,text2; 这几种方法把小弟弄得头疼,不胜感激!问题补充原创 2008-07-15 10:52:00 · 713 阅读 · 0 评论