foo.cpp:1:1: error: 'include' does not name a type
include <iostream>
^
foo.cpp: In function 'int main()':
foo.cpp:25:1: error: 'cin' was not declared in this scope
cin >> n;
^
foo.cpp:38:5: error: 'cout' was not declared in this scope
cout << already % 10 << endl;
^
foo.cpp:38:29: error: 'endl' was not declared in this scope
cout << already % 10 << endl;
^
foo.cpp:42:1: error: 'cout' was not declared in this scope
cout<<already;
^
foo.cpp:43:22: error: 'endl' was not declared in this scope
cout << c[yu - 1] << endl;
^