nzt2305@dsacg2.dsac.dla.mil (Michael L. Spivey) (04/16/91)
I read in my Turbo C manual that when reading data into a structure, fread and fwrite are the best and easiest methods to use. I tried to incorporate them, but to no avail. I currently use fscanf, but have trouble assigning a field when the incoming value contains blank space. I was unable to find a way around this. I would appreciate if anyone can shed any light on how to use fread/fwrite when reading data into a structure (with at least one field that is, say, 60 characters in length and contains white space). Thanks, Michael L. Spivey