Main.cc: In function 'int main()': Main.cc:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<=strlen(a)-1;i++){ ^ Main.cc:28:1: error: expected '}' at end of input } ^