Now I just use "r" when I fopen a file, 'cos I have most of my datafiles in text.
When I started to use fseek, I ws reading stuff about it being better to dealing with files in binary ... reasons being that the terminal encoding mess up your text file as it gets read into the c prog (I'm a bit hazy on it, but the whole UTF8 and unicode thing, which I've never been able to grasp, may have something to do with it).
Anyhow, if it's true about fseek's preference for binary files, well should I start converting all my many datafiles over to binary? Or maybe I'm not understanding the whole thing properly.
Any guidance appreciated. Many thanks.