How do I read and write struct into file? Here's simple struct:
struct names list;
I know I can use fputs() and write the whole struct into ascii file in one for-loop, but now I would like to know how I can use binary files. Is there similar ways to do it in a loop? Example would be nice.
I'm using Turbo C++ 3.0 and DOS (yes, it's still alive :)