I think it might be Windows. fseek() returns 0 in Windows for me, but in Linux:
Windows sucksCode:<file list> EOF?: 1 fseek succeed?: -1 Position?: -1 Error?: 0 EOF?: 1 STILL @ EOFitsme@itsme:~/C$![]()
This is a discussion on Setting position indicators in Streams within the C Programming forums, part of the General Programming Boards category; I think it might be Windows. fseek() returns 0 in Windows for me, but in Linux: Code: <file list> EOF?: ...
I think it might be Windows. fseek() returns 0 in Windows for me, but in Linux:
Windows sucksCode:<file list> EOF?: 1 fseek succeed?: -1 Position?: -1 Error?: 0 EOF?: 1 STILL @ EOFitsme@itsme:~/C$![]()
If you understand what you're doing, you're not learning anything.