Skip to content

Bahaaio/TodoPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo App

A simple console-based todo application written in C++ that allows users to manage their tasks efficiently.

Features

  • Add tasks
  • Mark tasks as complete or incomplete
  • Remove tasks
  • Assign priorities to tasks (Low, Medium, High)
  • Display tasks with priority colors

Preview

todo app preview

Getting Started

Prerequisites

  • g++ compiler (or any other C++ compiler)
  • CMake (version 3.28 or higher)

Building the Project

Using CMake

Run CMake and build:

   cmake ..
   make

Using g++

  1. Compile the source files directly:
   g++ -std=c++17 -o build/ToDo src/*.cpp
   cd build
   ./ToDo

Running pre-built binaries

On Linux

  cd build
  ./ToDo

On Windows

  cd build
  .\ToDo.exe

Tasks File

Ensure you have a tasks.csv file in the tasks/ directory. The application reads from and writes to this file.

Usage

  1. Run the application using one of the methods described above.
  2. Follow the on-screen instructions to add, complete, change priority, or remove tasks.

Code Structure

  • src/main.cpp: Entry point of the application.
  • src/Manager.cpp: Manages the main application logic.
  • src/TodoList.cpp: Handles task operations.
  • src/Task.cpp: Represents individual tasks.
  • src/FileIo.cpp: Manages file input/output operations.
  • src/Input.cpp: Handles user input.
  • src/Menu.cpp: Manages the display of menu options.
  • tasks: Task CSV file
  • build: Build directory

About

A simple TodoList terminal application in C++.

Resources

Stars

Watchers

Forks