This is a simple command-line To-Do List application written in C++. It allows users to add tasks, mark tasks as completed, display tasks, sort tasks by priority, and save tasks to a file.
- ➕ Add tasks: Users can add tasks to the to-do list. Each task includes a description, priority level, and due date.
- ✔️ Mark tasks as completed: Users can mark tasks as completed once they are done.
- 📄 Display tasks: Users can view all tasks in the to-do list along with their descriptions, priorities, and due dates.
- 🔀 Sort tasks by priority: Users can sort tasks based on their priority levels (e.g., high, medium, low).
- 💾 Save tasks to a file: Users can save their to-do list to a file for future reference.
- Compile the program using a C++ compiler.
- Run the compiled executable.
- Follow the on-screen instructions to perform various actions such as adding tasks, completing tasks, displaying tasks, sorting tasks, saving tasks to a file, and exiting the application.
- When adding a task, users need to provide a description, priority level (e.g., high, medium, low), and due date (format: dd/mm/yyyy).
- When completing a task, users need to enter the task number corresponding to the task they want to mark as completed.
Here's an example of how to use the application: To-Do List Application
Add Task
Complete Task
Show Tasks
Sort Tasks by Priority
Save Tasks to File
Exit
Enter your choice: 1
Enter task description: Complete README
Enter priority level (e.g., high, medium, low): high
Enter due date (format: dd/mm/yyyy): 30/04/2024
Task added successfully.
To-Do List Application
Add Task
Complete Task
Show Tasks
Sort Tasks by Priority
Save Tasks to File
Exit
Enter your choice: 3
Complete README [Priority: high] [Due Date: 30/04/2024]
This project is Open Source, licensed under the MIT License.
Feel free to use and customize it as needed! 🎉