/in/foo.cc:5:22: error: ISO C++ forbids declaration of 'Output' with no type [-fpermissive]
Output(int a[], int n){
^
/in/foo.cc: In function 'int Output(int*, int)':
/in/foo.cc:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:4:11: error: unable to find numeric literal operator 'operator""void'
#define N 10000void
^
/in/foo.cc:25:7: note: in expansion of macro 'N'
int a[N],b[N];
^
/in/foo.cc:4:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
#define N 10000void
^
/in/foo.cc:25:7: note: in expansion of macro 'N'
int a[N],b[N];
^
/in/foo.cc:4:11: error: unable to find numeric literal operator 'operator""void'
#define N 10000void
^
/in/foo.cc:25:12: note: in expansion of macro 'N'
int a[N],b[N];
^
/in/foo.cc:4:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
#define N 10000void
^
/in/foo.cc:25:12: note: in expansion of macro 'N'
int a[N],b[N];
^
/in/foo.cc:27:6: error: 'a' was not declared in this scope
cin>>a[i];
^
/in/foo.cc:29:6: error: 'b' was not declared in this scope
cin>>b[i];
^
/in/foo.cc:30:8: error: 'a' was not declared in this scope
Output(a, n1);
^
/in/foo.cc:31:8: error: 'b' was not declared in this scope
Output(b, n2);
^