0_0_34706464_1016.cpp: In function 'int main()': 0_0_34706464_1016.cpp:29:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(ch != " "){ ^