T
tvn007
Below is my code:
ofstream out(Results);
if (!out.is_open()){
cerr <<"Cannot open file" "" <<Results<<endl;
exit(EXIT_FAILURE);
However, everytime I run the program, it wipes out previous data.
Is there an "append mode?
thanks for any help.
ofstream out(Results);
if (!out.is_open()){
cerr <<"Cannot open file" "" <<Results<<endl;
exit(EXIT_FAILURE);
However, everytime I run the program, it wipes out previous data.
Is there an "append mode?
thanks for any help.