会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hsin wang
博客园
首页
新随笔
联系
订阅
管理
08 2015 档案
struct和typedef struct
摘要:1 首先://注意在C和C++里不同 在C中定义一个结构体类型要用typedef: typedef struct Student { int a; }Stu; 于是在声明变量的时候就可:Stu stu1;(如果没有typedef就必须用struct Student...
阅读全文
posted @
2015-08-13 20:26
Hsinwang
阅读(345)
评论(0)
推荐(0)
公告