I have an idea for a contest. The goal is to write a header file that only uses <IOSTREAM> <fstream.h> and <string> headers.
It has to store data under a file name and a Reference name so that all you have to do is type this:
Code:
nameofstream(string/text/char ,a Ref name to store under );
and be able to read with this line of code:
Code:
nameofstream( Ref name);
What do u guys think?