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