This is a simple console application written in C++ for managing a ToDo list. It stores tasks in a binary file and serves as a good project for people learning about file handling and object-oriented programming (OOP) concepts in C++.
- Add Task: Add tasks to the ToDo list.
- List Tasks: Display all tasks in the ToDo list.
- Mark Task as Completed: Mark tasks as completed.
- Delete Task: Remove tasks from the ToDo list.
- Save and Load: Store tasks in a binary file for persistence between sessions.
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/asifdhillon25/To-do-List.git
```
- Adding a Task: Enter the task description when prompted.
- Listing Tasks: Choose the appropriate option to display all tasks.
- Marking Task as Completed: Input the task number when prompted.
- Deleting Task: Input the task number when prompted.
- Saving and Loading: The tasks are automatically saved to a binary file (
tasks.bin
) upon exit and loaded when the application starts.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature/new-feature
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/new-feature
. - Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.