Menu

The Smallest App I Have Ever Built, and the One I Actually Open Every Day
📰

The Smallest App I Have Ever Built, and the One I Actually Open Every Day

DEV Community: cpp·Mashhood Ali·1 day ago
#JbPau0nc
#devtocpp#devto#dev#task#list
Reading 0:00
15s threshold

Every to-do app I tried wanted something from me. An account. An email. A sync service. A subscription for the feature that lets you delete a task. I did not want any of that. I wanted to write a task down in a terminal and have it still be there tomorrow.

So I built To-Do CLI. It is the smallest app I have ever built, and it is the one I actually open every day.

It is a small command line app in C++. Add tasks, list them, mark them done, delete them. That is the whole feature list, and that is enough. The tasks are saved to a file called tasks.txt , so they persist between runs. You close the terminal, you come back tomorrow, your list is still there.

What it does

The app is built around a simple Task class and file handling in C++. Add a task and it goes on the list as pending. List all tasks and you see each one with its status, pending or done. Mark a task done when you finish it. Delete a task when you do not need it anymore. Nothing else.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.