这怎么回事啊,不会改,大佬帮帮忙
#include<stdio.h>#include<string.h>
main()
typedef struct person
{char name;
int p;}stu[3]; 错误就在这行:(5) : error C2143: syntax error : missing ';' before '<class-head> (5) : fatal error C1004: unexpected end of file found
{char a[10];
stu person[3]={{"白",0},{"李",0},{"木",0}};
int i,j;
for(i=0;i<10;i++)
{scanf("%3s",&a[i]);}
for(j=0;j<3;j++)
{if(stu person[j].name==a[i])
{stu person[j].p++;}}
for(j=0;j<3;j++)
printf("%s:%d\n",stu person[j].p);
return 0;}