Main.cc:1:1: error: expected unqualified-id before 'else' else ^ Main.cc:5:1: error: expected unqualified-id before 'return' return 0; ^ Main.cc:6:1: error: expected declaration before '}' token } ^