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