Changes in src/Parser/XyzParser.cpp [86cff86:df481f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/XyzParser.cpp
r86cff86 rdf481f 59 59 if (comment == "") { 60 60 time_t now = time((time_t *)NULL); // Get the system time and put it into 'now' as 'calender time' 61 comment = " Created by molecuilder on ";61 comment = "\tCreated by molecuilder on "; 62 62 // ctime ends in \n\0, we have to cut away the newline 63 63 std::string time(ctime(&now)); … … 68 68 comment += time; 69 69 } 70 *file << World::getInstance().numAtoms() << endl << "\t" <<comment << endl;70 *file << World::getInstance().numAtoms() << endl << comment << endl; 71 71 72 72 vector<atom*> atoms = World::getInstance().getAllAtoms();
Note:
See TracChangeset
for help on using the changeset viewer.