0_0_27709101_24272.cpp: In function 'int main()': 0_0_27709101_24272.cpp:5:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while(scanf("%d %d",&m,&n)!="EOF"){ ^