C++基础--结构体声名
摘要:
struct是一种数据结构,当需要存储的相关数据为一个集合时,struct是很好的选择;例如,当存储student,学生的学号, 名字,年龄,身高,就构成了一个集合,用stuct声名为: struct指名了这个是chemical_student_for_uni结构,typedef为这个结构起了一个别 阅读全文
posted @ 2016-10-11 19:08 Anlia 阅读(536) 评论(0) 推荐(0) 编辑