/in/foo.cc:9:8: error: invalid use of non-static data member 'polylist::n'
int a[n],b[n];
^
/in/foo.cc:8:6: note: declared here
int n;
^
/in/foo.cc:9:13: error: invalid use of non-static data member 'polylist::n'
int a[n],b[n];
^
/in/foo.cc:8:6: note: declared here
int n;
^
/in/foo.cc:11:17: error: invalid use of non-static data member 'polylist::n'
polylist(int a[n],int b[n],int x)
^
/in/foo.cc:8:6: note: declared here
int n;
^
/in/foo.cc:11:19: error: expected ')' before ',' token
polylist(int a[n],int b[n],int x)
^
/in/foo.cc:11:20: error: expected unqualified-id before 'int'
polylist(int a[n],int b[n],int x)
^~~
/in/foo.cc:28:1: error: expected '}' at end of input
}
^
/in/foo.cc:10:10: error: expected unqualified-id at end of input
int x,s=0;
^