Skip to content

stella-saji/todo-list-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

To-Do List (using C)

A lightweight, file-based task manager built with pure C.


πŸ“– Overview

This is a minimalist console-based application designed for efficiency. It allows users to manage their daily tasks directly from the terminal. Unlike basic programs that lose data on exit, this version uses File I/O to ensure your tasks are saved and reloaded every time you run the app.


πŸ›  Features

  • Task Persistence: Automatically saves tasks to a .txt or .dat file.
  • Dynamic Management: Add, view, and remove tasks during runtime.
  • Memory Efficient: Uses optimized data structures (like structs) for task handling.
  • Clean Interface: Simple numeric menu for easy navigation.

🧱 Tech Stack

Component Technology
Language C (C11/C17)
Libraries stdio.h, stdlib.h, string.h
Storage Flat File System (tasks.txt)

πŸš€ Getting Started

1. Prerequisites

You need a C compiler installed (like GCC).

2. Compilation

Open your terminal and run:

gcc main.c -o todo

3. Execution

Run the compiled program:

./todo

πŸ“‚ Project Logic

The project is structured around a central Task structure:

struct Task {
    int id;
    char description[100];
    int is_completed;
};

🀝 Contributing

  1. Fork the repository.
  2. Create a Branch for your feature.
  3. Submit a Pull Request for review.

Author:

[Stella Saji]

(https://www.google.com/search?q=https://github.com/stella-saji)
License: MIT


About

Console based To-Do-List in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors