0_0_19387247_10635.cpp: In function 'int main()': 0_0_19387247_10635.cpp:9:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while(str!='#') ^