This little bit of code:
ofstream fout;
fout.open("C:\file.txt");
fout <<"Hi";
fout.close();
Will that create the file C:\file.txt and write to it? Or will it look for it, and if its created it will write to it? If its the latter, how Do I create it?