i need something that can hold about 700k data is there anything that could hold that much ?
here is my code so far
Code:
#include <iostream>
#include <dir.h>
#include <fstream>
#include <cstring>
using namespace std;
int main()
{
char hold [256];
if(mkdir("c:\\Documents and Settings\\wmorrish\\Desktop\\Far Cry\\FCTrainer") !=0);
{
cout<<"INSTALLATION Error !"<<endl;
}
ifstream open_file("c:\\Documents and Settings\\wmorrish\\Desktop\\TrainerInstall.exe", ios::in);
while(!open_file.eof())
{
open_file >> hold;
}
ofstream new_file("c:\\Documents and Settings\\wmorrish\\Desktop\\Far Cry\\FCTrainer\\FCTrainer.exe", ios::app);
new_file << hold <<endl;
cout<<"Installation Complete"<<endl;
system("pause");
}