Main.cc: In function 'int main()': Main.cc:14:3: error: 'else' without a previous 'if' else { ^ Main.cc:17:2: error: expected '}' at end of input } ^