/in/foo.cc:5:6: error: 'h' does not name a type
h,ih,b;
^
/in/foo.cc: In function 'void px()':
/in/foo.cc:13:17: error: 'struct js' has no member named 'h'
m+=a[i].h;
^
/in/foo.cc: In function 'void ss()':
/in/foo.cc:21:21: error: 'struct js' has no member named 'h'
if(a[i].h>a[j].h)swap(a[i],a[j]);
^
/in/foo.cc:21:28: error: 'struct js' has no member named 'h'
if(a[i].h>a[j].h)swap(a[i],a[j]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:14: error: 'struct js' has no member named 'b'
a[i].b=i;
^
/in/foo.cc:29:19: error: 'struct js' has no member named 'h'
cin>>a[i].h;
^
/in/foo.cc:34:20: error: 'struct js' has no member named 'b'
cout<<a[i].b;
^