usenet@cps3xx.UUCP (Usenet file owner) (06/22/89)
in article <3037@csd4.milw.wisc.edu>, mag2@csd4.milw.wisc.edu (Michael A Gorski) says:
$ I am writing a program in Turbo C 1.5 and am having trouble writing
$ structures to a disk file.
$ When I just do a DOS type file (yes I know it isn't a text file) the char
$ fields in the struct are off by 1.
Sounds like problems with word aligned data when you want byte aligned
data. Check the manual, there should be a compile line option
to control this.
John H. Lawitzke UUCP: Work: ...uunet!frith!dale1!jhl
Dale Computer Corp., R&D Home ...uunet!frith!ipecac!jhl
2367 Science Parkway Internet: jhl@frith.egr.msu.edu
Okemos, MI, 48864 [35.8.8.108]