求助c语言大神啊啊啊!a function-definition is not allowed here before '{' token c语言报错!
求助c语言大神啊啊啊!a function-definition is not allowed here before '{' token c语言报错!
日期:2018-01-02 01:13:49 人气:1
#include
#include
#include
struct student1 //这两个结构体和下面的主函数是我自己加的,便于调试
{
char na[20];
int n;
char s[5];
float cpp,shu,wu;
};
struct student2
{
char na[20];
int n;
char s[5];
float wen,ke,yi;
};
student1 *p1=(struct student1*