In file included from 0_0_36866602_32209.cpp:1:0: 0_0_36866602_32209.cpp: In function 'int main()': 0_0_36866602_32209.cpp:5:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while(gets(a)!=EOF){ ^