SoftwareEngineeringStudyProjects / KnowYourKnowledge

Combination of Personal Knowledge Management and Learning Management System. This is a study project aimed at creating relatively big codebase for object-oriented programming and similar courses.
MIT License
2 stars 4 forks source link

Added Collection class & improved FileBuilder #9

Closed MouseCreator closed 2 years ago

MouseCreator commented 2 years ago

Methods from FileBuilder might be moved to the TextNote and TextNoteCollection classes. However, in my opinion, it will end up being too much work for those classes (storing information + turning it into a text file + something in the future).

FileBuilder contains several useful methods, which convert YYYY.MM.DD HH:MM:SS dates from string to time_t and backwards.

The significant change since the last pull request is that FileBuilder now works with pointers, which means TextNote is not copied to the function.

I used special char (ENDCHAR = '-3') in order to split several notes from a collection. Looking for better way of doing this.