0_0_34896607_1745.cpp: In function 'int main()': 0_0_34896607_1745.cpp:7:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while(gets(a)!='\n') ^