This is a command-line-based Todo List application written in C++. It allows you to create, manage, and track tasks with features such as priority setting, due dates, and filtering.
Add a task with a description, due date, and priority level.
Display all tasks or only completed tasks.
Modify the description, due date, and priority of existing tasks.
Remove tasks by ID.
Mark tasks as completed by ID.
Find tasks by ID.
Filter tasks by priority or due date.
Display the total number of tasks, completed tasks, and incomplete tasks.
Saves tasks to a file (todo.txt) and reloads them when the program is restarted.
Clone the repository:
git clone https://github.com/sandeep079/TodoListApp.git cd TodoListApp
Compile the program:
g++ -o todo_list_app todo_list_app.cpp
Run the program:
./todo_list_app
Note: The program uses a text file (todo.txt) to store tasks. Ensure that the file exists in the same directory as the executable, or it will be created automatically on first run.
A C++ compiler (e.g., g++ or clang++)
Operating System: This program is designed for use on Windows (due to the use of system("cls")), but it can be modified for other systems by handling console clearing differently.
TodoListApp/ │ ├── todo_list_app.cpp # Main source code ├── todo.txt # File where tasks are stored (auto-generated) ├── README.md # Project documentation └── .gitignore # Git ignore file (optional)
Add the ability to search for tasks by description or due date.
Improve date validation to include checks for leap years, month length, etc.
Provide better cross-platform support for clearing the console.
Implement a GUI version.