0_0_17427069_31041.cpp:48:8: error: expected unqualified-id before 'else' } else printf("Bob\n"); ^ 0_0_17427069_31041.cpp:49:5: error: expected declaration before '}' token } ^