/in/foo.cc: In function 'void input(int*)':
/in/foo.cc:6:2: error: 'cout' was not declared in this scope
cout<<a[i]<<endl;
^~~~
/in/foo.cc:6:10: error: 'i' was not declared in this scope
cout<<a[i]<<endl;
^
/in/foo.cc:6:14: error: 'endl' was not declared in this scope
cout<<a[i]<<endl;
^~~~
/in/foo.cc: In function 'void output(int*)':
/in/foo.cc:11:2: error: 'cout' was not declared in this scope
cout<<a[i]<<endl;
^~~~
/in/foo.cc:11:10: error: 'i' was not declared in this scope
cout<<a[i]<<endl;
^
/in/foo.cc:11:14: error: 'endl' was not declared in this scope
cout<<a[i]<<endl;
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:1: error: expected ';' before '}' token
}
^