Changeset 2759 for code/trunk/src/core/Language.cc
- Timestamp:
- Mar 8, 2009, 4:51:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Language.cc
r2710 r2759 210 210 // This creates the file if it's not existing 211 211 std::ofstream createFile; 212 createFile.open(filepath. file_string().c_str(), std::fstream::app);212 createFile.open(filepath.string().c_str(), std::fstream::app); 213 213 createFile.close(); 214 214 215 215 // Open the file 216 216 std::ifstream file; 217 file.open(filepath. file_string().c_str(), std::fstream::in);217 file.open(filepath.string().c_str(), std::fstream::in); 218 218 219 219 if (!file.is_open()) … … 261 261 // Open the file 262 262 std::ifstream file; 263 file.open(filepath. file_string().c_str(), std::fstream::in);263 file.open(filepath.string().c_str(), std::fstream::in); 264 264 265 265 if (!file.is_open()) … … 317 317 // Open the file 318 318 std::ofstream file; 319 file.open(filepath. file_string().c_str(), std::fstream::out);319 file.open(filepath.string().c_str(), std::fstream::out); 320 320 321 321 if (!file.is_open())
Note: See TracChangeset
for help on using the changeset viewer.