Main.cc: In function ‘int main()’: Main.cc:4:5: error: ‘cout’ was not declared in this scope cout << endl; ^~~~ Main.cc:4:14: error: ‘endl’ was not declared in this scope cout << endl; ^~~~ Main.cc:4:14: note: suggested alternative: ‘enum’ cout << endl; ^~~~ enum Main.cc:5:5: error: ‘cin’ was not declared in this scope cin >> num; ^~~ Main.cc:5:5: note: suggested alternative: ‘main’ cin >> num; ^~~ main