Status ON/OFF - Case 1

Hey guys wondering how I can have a status display. Let’s say Case 1 I have not press 1 yet so I want it to show in console Infinite Ammo - OFF. Once the 1 key is pressed it will display Infinite Ammo -ON

So basically my code looks roughly like this:


switch (choice)
{

Case 1: // Function
// Function


}
closed account (E0p9LyTq)
It's case, not Case.

You want buttons, you should learn how to implement a graphical user interface.

I personally would use the Windows API. Others here will suggest QT or something else.

What you want to do is easily done, with a bit of knowledge under your belt.
Topic archived. No new replies allowed.