0_0_39205652_22540.cpp: In function 'int main()': 0_0_39205652_22540.cpp:10:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 10 | while (gets(str)!=EOF) | ^