Main.cc: In function ‘void k(int, int)’:
Main.cc:6:16: error: ‘o’ was not declared in this scope
if(b[p]==b[o]){
^
Main.cc: In function ‘int main()’:
Main.cc:17:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int o=1;o<=strlen(a);o+=2){
~^~~~~~~~~~~
Main.cc:23:11: error: expected primary-expression before ‘]’ token
k[];
^
Main.cc:29:1: error: expected ‘}’ at end of input
}
^