文件名称:jiegouyulianhe
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
在实际问题中,一组数据往往具有不同的数据类型。例如, 在学生登记表中,姓名应为字符型;学号可为整型或字符型; 年龄应为整型;性别应为字符型;成绩可为整型或实型。 显然不能用一个数组来存放这一组数据。 因为数组中各元素的类型和长度都必须一致,以便于编译系统处理。为了解决这个问题,C语言中给出了另一种构造数据类型——“结构”。 它相当于其它高级语言中的记录。-In the actual problem, a set of data tend to have different data types. For example, in the student registration form, name should be character Student id for integer type or character Age should be integer Sex should be character For integer or real. Obviously can t use an array to store a set of data. Because of the type and length of each element in the array must be consistent, so that the compiler system processes. In order to solve this problem, C language is given another structure data type, structure . It is equal to the record of other high-level languages.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
结构与联合.docx