Changeset 95 in dev for BasicCompiler_Common/include
- Timestamp:
- Apr 15, 2007, 1:34:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/include/Smoothie.h
r92 r95 14 14 log = ""; 15 15 16 ofstream ofs( ( (string)BasicSystemDir + " compile.log" ).c_str(), ios_base::trunc );16 ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::trunc ); 17 17 ofs.close(); 18 18 #endif … … 23 23 24 24 { 25 ofstream ofs( ( (string)BasicSystemDir + " compile.log" ).c_str(), ios_base::app );25 ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::app ); 26 26 ofs << text << endl; 27 27 ofs.close(); … … 30 30 } 31 31 static void PutFile( const string &fileName, const string &buffer ){ 32 ofstream ofs( ( (string)BasicSystemDir + fileName ).c_str() );32 ofstream ofs( ( (string)BasicSystemDir + "Log\\" + fileName ).c_str() ); 33 33 ofs << buffer << endl; 34 34 ofs.close();
Note:
See TracChangeset
for help on using the changeset viewer.