/in/foo.cc:10:1: error: expected ';' after struct definition
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:11: error: expected primary-expression before '.' token
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^
/in/foo.cc:18:24: error: expected primary-expression before '.' token
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^
/in/foo.cc:18:35: error: expected primary-expression before '.' token
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^
/in/foo.cc:18:46: error: expected primary-expression before '.' token
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^
/in/foo.cc:18:57: error: expected primary-expression before '.' token
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^
/in/foo.cc:18:68: error: expected primary-expression before '.' token
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^
/in/foo.cc:19:9: error: expected primary-expression before '.' token
if(mes.tl[i]>80 && mes.wn[i]>=1)
^
/in/foo.cc:19:25: error: expected primary-expression before '.' token
if(mes.tl[i]>80 && mes.wn[i]>=1)
^
/in/foo.cc:20:7: error: expected unqualified-id before '.' token
mes.money[i]+=8000;
^
/in/foo.cc:21:9: error: expected primary-expression before '.' token
if(mes.tl[i]>85 && mes.cl[i]>80)
^
/in/foo.cc:21:25: error: expected primary-expression before '.' token
if(mes.tl[i]>85 && mes.cl[i]>80)
^
/in/foo.cc:22:7: error: expected unqualified-id before '.' token
mes.money[i]+=4000;
^
/in/foo.cc:23:9: error: expected primary-expression before '.' token
if(mes.tl[i]>90)
^
/in/foo.cc:24:7: error: expected unqualified-id before '.' token
mes.money[i]+=2000;
^
/in/foo.cc:25:9: error: expected primary-expression before '.' token
if(mes.tl[i]>85 && mes.ws[i]=='Y')
^
/in/foo.cc:25:25: error: expected primary-expression before '.' token
if(mes.tl[i]>85 && mes.ws[i]=='Y')
^
/in/foo.cc:26:7: error: expected unqualified-id before '.' token
mes.money[i]+=1000;
^
/in/foo.cc:27:9: error: expected primary-expression before '.' token
if(mes.cl[i]>80 && mes.sg[i]=='Y')
^
/in/foo.cc:27:25: error: expected primary-expression before '.' token
if(mes.cl[i]>80 && mes.sg[i]=='Y')
^
/in/foo.cc:28:7: error: expected unqualified-id before '.' token
mes.money[i]+=850;
^
/in/foo.cc:29:12: error: expected primary-expression before '.' token
allm+=mes.money[i];
^
/in/foo.cc:34:9: error: expected primary-expression before '.' token
if(mes.money[i]>=maxx)
^
/in/foo.cc:36:12: error: expected primary-expression before '.' token
maxx=mes.money[i];
^
/in/foo.cc:40:11: error: expected primary-expression before '.' token
cout<<mes.name[t]<<endl<<mes.money[t]<<allm;
^
/in/foo.cc:40:30: error: expected primary-expression before '.' token
cout<<mes.name[t]<<endl<<mes.money[t]<<allm;
^