#include<stdio.h>
#include<iostream>
struct Student
{
int math;
int english;
};
int main(int argc,char **argv)
struct Student stu[50];
//其中一个学号为:21的学生成绩赋值
stu[20].math = 100;
stu[20].english = 98;
}
感谢哦😘
感谢。struct要加分号。记住了。