Ok, cool. Got it. Thanks.
:)
Type: Posts; User: binarysolo
Ok, cool. Got it. Thanks.
:)
Kinda confused. My apologies... can you point me into the right direction with some literature on this? I've been searching, but can't quite find anything to get me past this hump.
How exactly do I display the contents of all 3 files? Ok, say I close my cars.dat file...
I then put something like this:
char buf[80];
ifstream printCars;
printCars.open...
Hi there,
I made a program which contains car info... the car make and the mpg. Each car make/mpg is put into a structure and written into a file called cars.dat.
From there, I open the file...