I tried to make a kind of a menu but I don't know how to make the selection
I have alot on options to use I know but I wanna do like a toggle selection
like [on] and [off] and in the text display anyone know how to I make the user change it
example:
1 2 3 4 5 6 7
#include <iostream>
usingnamespace std;
int main() {
cout << "Engine[off]" << endl; // How to I make it changeable
I wanna do like up down selection with the arrows and when I select it with the "Enter" key its changes