> Hello All!
> I have been playing with C++ and I ran into a snag. After looking
> through the
> books and going through the examples, I can't find, anywhere, an example
> of a
> windows file reading a file like CONFIG.RA that is connected to a
> record.
> Any ideas?
What, you mean random access files? Try using fread(); That will read from a
file into a preallocated address, so if you provide the address of a
structure to the function, you may read data from a file directly into that
structure.
Hope that helps - Kev
Kevin Campbell
Sysop of Deimos BBS
E-Mail: Sysop@Deimos.unmanned.co.uk
--- FMail/386 1.02
---------------
* Origin: Mail shipped from Deimos Spaceport (2:259/17)
|