#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ofstream outFile;
cout << "Writing rpgsave.txt." << endl;
outFile.open("data\\rpgsave.txt");
outFile << "10 3 0 10 3 0 10 3 0" << endl;
outFile.close();
cout << "Writing hasrun.txt" << endl;
outFile.open("data\\hasrun.txt");
outFile << "0" << endl;
outFile.close();
return 0;
}
It just won't seem to write up these two files (rpgsave.txt & hasrun.txt)... Thank's for reading this thread.

New Topic/Question
Reply




MultiQuote





|