/in/foo.cc: In function 'int main()':
/in/foo.cc:17:12: error: request for member 'name' in 'mes', which is of non-class type 'meg [102]'
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^~~~
/in/foo.cc:17:25: error: request for member 'tl' in 'mes', which is of non-class type 'meg [102]'
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^~
/in/foo.cc:17:36: error: request for member 'cl' in 'mes', which is of non-class type 'meg [102]'
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^~
/in/foo.cc:17:47: error: request for member 'sg' in 'mes', which is of non-class type 'meg [102]'
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^~
/in/foo.cc:17:58: error: request for member 'ws' in 'mes', which is of non-class type 'meg [102]'
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^~
/in/foo.cc:17:69: error: request for member 'wn' in 'mes', which is of non-class type 'meg [102]'
cin>>mes.name[i]>>mes.tl[i]>>mes.cl[i]>>mes.sg[i]>>mes.ws[i]>>mes.wn[i];
^~
/in/foo.cc:18:10: error: request for member 'tl' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>80 && mes.wn[i]>=1)
^~
/in/foo.cc:18:26: error: request for member 'wn' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>80 && mes.wn[i]>=1)
^~
/in/foo.cc:19:8: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
mes.money[i]+=8000;
^~~~~
/in/foo.cc:20:10: error: request for member 'tl' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>85 && mes.cl[i]>80)
^~
/in/foo.cc:20:26: error: request for member 'cl' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>85 && mes.cl[i]>80)
^~
/in/foo.cc:21:8: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
mes.money[i]+=4000;
^~~~~
/in/foo.cc:22:10: error: request for member 'tl' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>90)
^~
/in/foo.cc:23:8: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
mes.money[i]+=2000;
^~~~~
/in/foo.cc:24:10: error: request for member 'tl' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>85 && mes.ws[i]=='Y')
^~
/in/foo.cc:24:26: error: request for member 'ws' in 'mes', which is of non-class type 'meg [102]'
if(mes.tl[i]>85 && mes.ws[i]=='Y')
^~
/in/foo.cc:25:8: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
mes.money[i]+=1000;
^~~~~
/in/foo.cc:26:10: error: request for member 'cl' in 'mes', which is of non-class type 'meg [102]'
if(mes.cl[i]>80 && mes.sg[i]=='Y')
^~
/in/foo.cc:26:26: error: request for member 'sg' in 'mes', which is of non-class type 'meg [102]'
if(mes.cl[i]>80 && mes.sg[i]=='Y')
^~
/in/foo.cc:27:8: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
mes.money[i]+=850;
^~~~~
/in/foo.cc:28:13: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
allm+=mes.money[i];
^~~~~
/in/foo.cc:33:10: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
if(mes.money[i]>=maxx)
^~~~~
/in/foo.cc:35:13: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
maxx=mes.money[i];
^~~~~
/in/foo.cc:39:12: error: request for member 'name' in 'mes', which is of non-class type 'meg [102]'
cout<<mes.name[t]<<endl<<mes.money[t]<<allm;
^~~~
/in/foo.cc:39:31: error: request for member 'money' in 'mes', which is of non-class type 'meg [102]'
cout<<mes.name[t]<<endl<<mes.money[t]<<allm;
^~~~~