Main.cc:5:1: error: expected initializer before ‘int’ int main() ^~~ Main.cc:21:1: error: expected unqualified-id before ‘return’ return 0; ^~~~~~