Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Tasks Program

A simple terminal-based task manager written in C. It supports priorities, filtering by manager, and saving/loading tasks from a text file.

Features

  • Add new task: description, manager, priority (High/Low), and due date.
  • Update a task: edit any field by index.
  • Delete a task: with confirmation prompt.
  • Show tasks: list all tasks with details and indices.
  • Urgent tasks: show only high-priority tasks (highlighted in red).
  • Tasks by manager: filter tasks assigned to a specific manager.
  • Save tasks to file (CSV): write tasks to tasks.csv with proper quoting.
  • Load tasks from file (CSV): read tasks from tasks.csv.
  • Show tasks sorted by due date: chronological view by due date.
  • Search tasks: find by text in description or manager.
  • Overdue highlighting: shows days remaining, due today, or overdue by N days.
  • Unsaved-changes prompt: offers to save before exiting if you made changes.

Setup

On macOS (Homebrew):

brew update
brew install gcc
gcc --version

On Linux (Debian/Ubuntu):

sudo apt update
sudo apt install build-essential
gcc --version

Build

gcc -o tasks tasks.c

Run

./tasks

CSV format

The program saves to tasks.csv with one task per line in this schema:

"description","manager",priority,creation_day,creation_month,creation_year,due_day,due_month,due_year

Note:

  • Description and manager are quoted, with double quotes escaped by doubling (RFC 4180 style).

About

Simple program to keep track of tasks within a company or start-up

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages