To-Do List App (Best way to get user input and output list?)

I'm about to write a program that allows you to enter tasks, like a to-do list. I want the user to be able to enter as many tasks as they want, then display the list back, after the user selects from a menu like "1) View To-Do List". What is the best way to go about doing something like this. If you can give me some examples, that would be great.

Take a look at online to do list programs written in c++. I copy pasted one for you in cpp.sh link:
cpp.sh/2dmlu

input -1, and then 1 to add items and you can get the idea of how to do it.

- You can write getter and setter for your vector of string inside your class which does the writing and printing the to do list.

- You might also want to write your program that gets inputs from a file, and then reads it and sorts the item list and prints it out.

First write a simple version of your program, get the idea, and then try to improve it. Good luck!

Topic archived. No new replies allowed.