定义
struct student
{
char num[n];//n,具体个数看你自己需求了
char name[n];
char sex[n];
int score;//或者多个char score[几门课];
}
变量
struct student stu1,stu2;
struct student{
long num;
char name[20];
char sex[5];
float score;
} ;
struct student stu1,stu2;
#include
struct student
{
char name[20];
char num[20];
char sex;
float score;
}stu1,stu2;
....不完整