In file included from 0_0_34873377_3099.cpp:1:0: 0_0_34873377_3099.cpp: In function 'int main()': 0_0_34873377_3099.cpp:10:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while(gets(s)!=EOF) ^