0_0_31792526_2012.cpp:18:6: error: expected unqualified-id before 'else' }else { ^ 0_0_31792526_2012.cpp:21:5: error: expected unqualified-id before 'return' return 0; ^ 0_0_31792526_2012.cpp:22:1: error: expected declaration before '}' token } ^