0_0_20826616_426.cpp: In function 'int main()': 0_0_20826616_426.cpp:58:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while (gets(str) && str[0]!="#") ^