www.digitalmars.com         C & C++   DMDScript  

c++.dos.16-bits - Re: wrong code generated by tiny program of below thread

 Don't open the file in append mode if you're going to fseek around in it..

ok, thanks for the info :-) that solves it; and it makes sense (another compiler perhaps isn't so strict and neads r+ etc. only for fread()s) Lars
Feb 17 2003