When you create the file open it to append
ofstream file(file_name,ios::app);
file<<surname<<endl;
.;
.;
This will automactically append anything you output to the end of the file...
Type: Posts; User: hamilton73
When you create the file open it to append
ofstream file(file_name,ios::app);
file<<surname<<endl;
.;
.;
This will automactically append anything you output to the end of the file...
I am writing a program that needs to read in an excel file and I would rather not resave the file as a text file. So the question is can I just open a file stream for the excel file and read the...