https://github.com/vishwas567917/to-do-list
To-Do List is a command-line application built in C. It allows users to manage tasks with features for adding, viewing, and deleting items. Ideal for demonstrating file handling and data management in C.
https://github.com/vishwas567917/to-do-list
c working
Last synced: 5 months ago
JSON representation
To-Do List is a command-line application built in C. It allows users to manage tasks with features for adding, viewing, and deleting items. Ideal for demonstrating file handling and data management in C.
- Host: GitHub
- URL: https://github.com/vishwas567917/to-do-list
- Owner: Vishwas567917
- Created: 2024-08-04T07:02:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-04T07:15:53.000Z (almost 2 years ago)
- Last Synced: 2025-07-19T10:32:12.455Z (11 months ago)
- Topics: c, working
- Language: C
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To-Do List Application
This project is a simple console-based To-Do List application implemented in C. It allows users to add tasks, view tasks, and delete tasks from their to-do list.
## Features
- Add tasks to the to-do list.
- View all tasks in the to-do list.
- Delete tasks from the to-do list.
## Technologies Used
- **C**: The programming language used to implement the application.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/to-do-list.git
2. Navigate to the project directory:
```bash
cd to-do-list
3. Compile the code using a C compiler:
```bash
gcc -o todo todo.c
4. Run the executable:
```bash
./todo
Usage
1. Run the program.
2. You will be presented with a menu:
```bash
To-Do List
1. Add Task
2. View Tasks
3. Delete Task
4. Exit
Enter your choice:
3. Enter the number corresponding to your choice.
1. Add Task: Enter the task description when prompted.
2. View Tasks: Displays all the tasks in the list.
3. Delete Task: Enter the task number to delete it from the list.
4. Exit: Exits the application.
Example Output:
To-Do List
1. Add Task
2. View Tasks
3. Delete Task
4. Exit
Enter your choice: 1
Enter the task: Buy groceries
Task added successfully!
To-Do List
1. Add Task
2. View Tasks
3. Delete Task
4. Exit
Enter your choice: 2
Your Tasks:
1. Buy groceries
To-Do List
1. Add Task
2. View Tasks
3. Delete Task
4. Exit
Enter your choice: 3
Enter the task number to delete: 1
Task deleted successfully!
**File Structure
todo.c: Main C file containing the To-Do List application implementation.**