结构体数组 所谓结构体数组就是数组里每个元素都是一个结构体。 定义一个结构体数组和定义结构体变量的方式差不多: struct stu{ char*name; int age; char group; int num; float score; }class[5]; 结构体数组在定义时也可以顺便初