Skip to content

Conversation

@swastijain132005
Copy link
Contributor

Description

Added a console-based To-Do List application implemented in C++ using Object-Oriented Programming (OOP) concepts.
The program allows users to add, view, mark as completed, and delete tasks interactively from the terminal.
It uses classes, encapsulation, vectors, and dynamic task management.

Semver Changes

  • Minor (new features, no breaking changes)
  • Patch (bug fix, no new features)
  • Major (breaking changes)

Issues

Closes #7
(Initial To-Do List feature implementation)

Checklist

  • I have read the Contributing Guidelines.
  • Code compiles successfully with g++.
  • Tested all features — Add, View, Mark Complete, Delete.
  • Added clear console output and user-friendly prompts.
  • Verified no memory leaks or runtime errors.

@prajwal3114
Copy link
Collaborator

@swastijain132005 Nice work! I found a couple of issues that need attention:

  1. When adding a task, an empty title is accepted. Please validate the title and reject empty input (or show an error message) before pushing the task into the list.
  2. Non-numeric input (e.g., letters or strings) for menu choices and task indexes causes the program to enter a failed input state. Please add input validation (check cin.fail()), clear the stream with cin.clear() and cin.ignore(...), and prompt the user again.

@swastijain132005
Copy link
Contributor Author

okay sir ,i am fixing the issues @prajwal3114

@swastijain132005
Copy link
Contributor Author

swastijain132005 commented Oct 22, 2025

@prajwal3114 “✅ Fixed issues: added validation for empty task titles and non-numeric input.”

@prajwal3114 prajwal3114 merged commit 804a4b4 into OPCODE-Open-Spring-Fest:main Oct 22, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: To do list program using oops

2 participants