/in/foo.cc: In function 'int InterSet(int*, int, int*, int, int*, int, int*)':
/in/foo.cc:38:17: error: 'na' was not declared in this scope
for(int i=0; i<na; i++)
^~
/in/foo.cc:40:16: error: 'b' was not declared in this scope
int k=Search(b,nb, a[i]);
^
/in/foo.cc:40:18: error: 'nb' was not declared in this scope
int k=Search(b,nb, a[i]);
^~
/in/foo.cc:40:22: error: 'a' was not declared in this scope
int k=Search(b,nb, a[i]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:15: error: expected primary-expression before 'int'
nc=InterSet( int a1[],int na1,int c[]);
^~~
/in/foo.cc:56:24: error: expected primary-expression before 'int'
nc=InterSet( int a1[],int na1,int c[]);
^~~
/in/foo.cc:56:32: error: expected primary-expression before 'int'
nc=InterSet( int a1[],int na1,int c[]);
^~~
/in/foo.cc:57:15: error: expected primary-expression before 'int'
nc=InterSet( int a2[],int na2,int c[]);
^~~
/in/foo.cc:57:24: error: expected primary-expression before 'int'
nc=InterSet( int a2[],int na2,int c[]);
^~~
/in/foo.cc:57:32: error: expected primary-expression before 'int'
nc=InterSet( int a2[],int na2,int c[]);
^~~
/in/foo.cc:58:15: error: expected primary-expression before 'int'
nc=InterSet( int a3[],int na3,int c[]);
^~~
/in/foo.cc:58:24: error: expected primary-expression before 'int'
nc=InterSet( int a3[],int na3,int c[]);
^~~
/in/foo.cc:58:32: error: expected primary-expression before 'int'
nc=InterSet( int a3[],int na3,int c[]);
^~~