Hello again! You will have to save your data in order to
retrieve it again. There are some neater file write/read methods available these days but no matter what compiler you are using, you can always fall back on the old (C) style of formatted i/o. These will work (as far as I can tell) with anything.
To begin with, you need to declare a pointer to a file. Files are structures in the old-style C syntax. This will look something like this:
FILE *fp; // Declare a pointer to a file structure
fp = fopen("junk.dat", "w+"

; // This opens a file called
//junk.dat for writing (and reading).
//Now you want to write to the file - let's assume you have
//a data structure called Junk with three int members and a
//counter called cnt.
//Assuming that *p is a pointer to the structure.
while(i<=cnt)
{
fprintf(fp, "%d\t",p->first);
fprintf(fp, "%d\t",p->second);
fprintf(fp, "%d\n",p->third);
i++;
}
//Now, close the file to observe the niceties
fclose(fp);
You can open the file again at any time and run thru a loop
looking for EOF. Same sort of thing as before:
fp = fopen("junk.dat", "r+"

; //Open for reading +.
Use fscanf if you are sure your data will
always be properly formatted (by type). Otherwise you can use fgets and convert using atoi() or some such.
I hope this is of some help.
Steve