Main.cc: In function 'int main()': Main.cc:14:15: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(n=="eof"){ ^ Main.cc:14:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] Main.cc:19:19: error: 'i' was not declared in this scope for(int o=0;o