Menu
Coddy logo textTech

Project Overview

Part of the Logic & Flow section of Coddy's C++ journey — lesson 18 of 56.

challenge icon

Challenge

Easy

You'll be building a command-line task list tool that demonstrates how vectors can be used to manage real-world data.

Create the foundation for a command-line task list tool by setting up the basic structure with an empty vector and displaying a welcome message with menu options.

Your program should:

  1. Create an empty std::vector<std::string> named tasks to store task descriptions
  2. Display a welcome message for the task list application
  3. Display a menu showing the available options that users will be able to choose from
  4. Print a message confirming that the task list system is ready to use

Use the following exact output format:

Welcome to Task List Tool!

Menu Options:
1. Add Task
2. View Tasks
3. Quit

Task list system initialized and ready!

This initial setup creates the foundation that will be expanded in the following lessons to build a complete task management application. The empty vector will store all tasks as strings, and the menu shows users what functionality will be available.

Try it yourself

#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main() {
    // TODO: Write your code here
    
    return 0;
}

All lessons in Logic & Flow