摘要: 一、先说一下C中的结构体: 作用:为了将不同类型的数据组合成一个有机的整体。 1、定义结构体变量的方式,例子: struct student//结构体类型名 { int num; char name[20]; char sex; int age; }; struct student lucy;//结 阅读全文
posted @ 2016-03-26 20:27 书灯 阅读(37) 评论(0) 推荐(0)