Skip to content

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.

Notifications You must be signed in to change notification settings

Vishwas567917/TO-DO-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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:
    git clone https://github.com/your-username/to-do-list.git
  2. Navigate to the project directory:
    cd to-do-list
  3. Compile the code using a C compiler:
     gcc -o todo todo.c
    
  4. Run the executable:
    ./todo
    

Usage

  1. Run the program.
  2. You will be presented with a menu:
    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.
  4. Add Task: Enter the task description when prompted.
  5. View Tasks: Displays all the tasks in the list.
  6. Delete Task: Enter the task number to delete it from the list.
  7. 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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages