#include <iostream>
#include <fstream>
usingnamespace std;
int main()
{
ofstream a_file ( "example.txt");//creates the file example.txt
//use a_file << blah blah blah to write to it
// use a_file >> blah blah blah to read from it
system("pause");
return 0;
}