Changeset 3123 for code/branches/netp4/src/core/Language.cc
- Timestamp:
- Jun 9, 2009, 1:31:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp4/src/core/Language.cc
r2759 r3123 224 224 } 225 225 226 char line[1024];227 228 226 // Iterate through the file and create the LanguageEntries 229 227 while (file.good() && !file.eof()) 230 228 { 231 file.getline(line, 1024);232 std:: string lineString = std::string(line);229 std::string lineString; 230 std::getline(file, lineString); 233 231 234 232 // Check if the line is empty … … 272 270 } 273 271 274 char line[1024];275 276 272 // Iterate through the file and create the LanguageEntries 277 273 while (file.good() && !file.eof()) 278 274 { 279 file.getline(line, 1024);280 std:: string lineString = std::string(line);275 std::string lineString; 276 std::getline(file, lineString); 281 277 282 278 // Check if the line is empty
Note: See TracChangeset
for help on using the changeset viewer.