Main.cc: In function 'int main()': Main.cc:13:5: error: expected ';' before 'if' if(strcmp(s1,s2)==0){ ^ Main.cc:16:5: error: 'else' without a previous 'if' else ^