hi there!
i'm looking for the easyest way to read and write binary data to a file.i don't mean the usual "fopen" commands but something else.maybe borland has special commands formats.
thanks a lot!!
I use Delphi quite a bit, and there binary files are easy as long as your types are structured. I've looked at the VCL filestreams, but never quite got it.
I assume that the Delphi VCL filestream and Borland C++ would be very similar.
You can create a header structure in the file that contains information about what's in the file. i.e. you might store how many sound clips are in the file, the sizes of each clip, and properties of each clip. Then use the header information to access items in the file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.