Menu

Hi, I'm making math programs, and i have no idea how to make a menu. I know how to do the math, display, etc.
I have previously worked with ti basic, so I'm looking for a menu similar to that kind.
Last edited on
closed account (N36fSL3A)
Console menu?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>

int input;

int main()
{
    std::<< "<Insert awesome ASCII Art here>\n\n\n\n";

    std::cout << "Option(1)\n";
    std::cout << "Option(2)\n";
    std::cout << "Option(3)\n";
    std::cout << "Option(4)\n";

    std::cin >> input;
    switch(input)
    {
        // Cases
    }

    return 0;
}
Yes, thank you. This really clears things up, i wasn't too sure if that would work. But how would I label the input?
Topic archived. No new replies allowed.