Main.cc: In function 'int main()': Main.cc:30:2: error: expected ';' before '}' token } ^ Main.cc:30:2: warning: statement has no effect [-Wunused-value] Main.cc:35:1: error: expected '}' at end of input } ^