Main.cc:2:7: error: expected nested-name-specifier before ‘namepace’ using namepace std; ^~~~~~~~ Main.cc: In function ‘int main()’: Main.cc:5:5: error: ‘cin’ was not declared in this scope cin>>n; ^~~ Main.cc:5:5: note: suggested alternative: In file included from Main.cc:1:0: /usr/include/c++/7/iostream:60:18: note: ‘std::cin’ extern istream cin; /// Linked to standard input ^~~ Main.cc:8:13: error: ‘cout’ was not declared in this scope cout<<"*"; ^~~~ Main.cc:8:13: note: suggested alternative: In file included from Main.cc:1:0: /usr/include/c++/7/iostream:61:18: note: ‘std::cout’ extern ostream cout; /// Linked to standard output ^~~~ Main.cc:10:9: error: ‘cout’ was not declared in this scope cout<& __os) ^~~~