Is there a c++ library that can be used to create a "notepad" document at run time? I've notice that this was possible for bitmaps when I looked at my lecture's code which did something similar.
I think you are talking about fstream
In fstream you can create anything to hold variables
Like so
1 2 3 4 5 6 7 8 9 10 11 12 13
#include <iostream>
#include <fstream>
usingnamespace std;
int main ()
{
ofstream MyFile;
MyFile.open ("HelloWorld.txt"); //Creates a text document called HelloWorld.txt
MyFile << "Hello World I am a text document :)" << endl; //Writes in HelloWorld.txt
MyFile.close (); //Closes the document
cout << "Press ENTER to end the program." << endl;
cin.get ();
return 0;
}