/in/foo.cc:11:1: error: expected ';' after class definition
}
^
/in/foo.cc: In member function 'void Seqlist::search()':
/in/foo.cc:25:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
for(int w=0;w<n<w++)
~^~
/in/foo.cc:25:20: warning: operation on 'w' may be undefined [-Wsequence-point]
for(int w=0;w<n<w++)
~^~
/in/foo.cc:25:22: error: expected ';' before ')' token
for(int w=0;w<n<w++)
^
/in/foo.cc:27:17: error: expected ')' before ';' token
if(a[k]==b[w];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:6: warning: unused variable 'm' [-Wunused-variable]
int m,n;
^
/in/foo.cc:34:8: warning: unused variable 'n' [-Wunused-variable]
int m,n;
^
/in/foo.cc:35:6: warning: unused variable 'a' [-Wunused-variable]
int a[100];
^
/in/foo.cc:36:6: warning: unused variable 'b' [-Wunused-variable]
int b[100];
^