/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:18: error: expected primary-expression before 'int'
nc=InterSet( a1,int n1,int c[]);
^~~
/in/foo.cc:56:25: error: expected primary-expression before 'int'
nc=InterSet( a1,int n1,int c[]);
^~~
/in/foo.cc:57:18: error: expected primary-expression before 'int'
nc=InterSet( a2,int n2,int c[]);
^~~
/in/foo.cc:57:25: error: expected primary-expression before 'int'
nc=InterSet( a2,int n2,int c[]);
^~~
/in/foo.cc:58:18: error: expected primary-expression before 'int'
nc=InterSet( a3,int n3,int c[]);
^~~
/in/foo.cc:58:25: error: expected primary-expression before 'int'
nc=InterSet( a3,int n3,int c[]);
^~~