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