Why am I getting compile error if i use:
[c]if(feof(stdin))
return;[/c] ?
feof
Moderator: Board moderators
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
Oh, sorry. I am getting the compile error only on OJ. At home I use Visual C#, but I am coding in C. And I have a lot of problems accepted, but in this one I am using feof(stdin) and there is where I am getting compile error (if I remove it from the code, it's OK, but then I get WA).
And I didn't include stdio, but neither I have on my computer. Will try with it, thanks.
And I didn't include stdio, but neither I have on my computer. Will try with it, thanks.