Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 871 Bytes

File metadata and controls

9 lines (7 loc) · 871 Bytes

Single To-do List

I made this small and very simple to-do list project to remember how to work with C++. Reading files, types, and the standard libraries are a few things I was looking forward to reviewing. It's simple and a good restart after years without touching C++.

During the development

The idea was to recall some of the things learned in the past. Initially, the idea was to use only scanf, printf, and static arrays, most likely in C style. Later, this changed due to simplicity.
The change from char* to std::string came from the Stack Overflow page, which defined std::string as more suitable than char* (unless you are writing a DLL).
std::cin was easier to use than scanf (and I forgot how to read input dynamically).
printf is still in the project.