I have the following member function.
And I cant seem to figure out how to append data to the end of the file. It overrides everyting.
void CGSPMSDBAccess::saveSQLT( _bstr_t sValue, LPCSTR sTitle )
strValue = (LPCSTR)sValue;
handleWriteToFile.open( "c:\\temp\\gspmssqloutput.txt", ios::out );
if( handleWriteToFile )
handleWriteToFile << sTitle << ": " << strValue << '\r' << endl;
Any ideas on how to open the file and append to new data to the end of the file?