C++ Menu Steps Ahead

jpacosm's Avatar
Newbie Member
I have already turned in this work a while ago, but trying to fix a part I have in all my programs. For those that include many steps, especially numbers; if you are at a step and type in the numbers for the next menu before pressing enter, it will go through all the steps. What I am referring to is I made a calculator program and I have it to type 3 for one section, then there type 1 for the next, 4 for another, and 5 for another ( it has lot of choices); if you type 3145 at the first step, it will go through all of them. Is there a way that it only does one step at at a time; furthermore, there maybe a simple way dealing with one character if less than 10 choices, but what if I have more than 10? I can send code if needed.
xpi0t0s's Avatar, Join Date: Aug 2004
Please don't post duplicate threads

If you want to provide more information, add a "reply" to your post.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Thread closed.