正在加载图片...
8.2结构 例日期可以用包含三个成员的结构来描述: struct date i int year, month, day 学生信息的结构类型可说明如下: struct student I char name[151 char sex struct date birthday float score [4 其中 struct date是一个已说明过的结构类型名。例日期可以用包含三个成员的结构来描述: struct date { int year, month, day; }; 学生信息的结构类型可说明如下: struct student { char name[15]; char sex; struct date birthday; float score[4]; }; 其中struct date是一个已说明过的结构类型名。 8.2 结构
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有