• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

switch case

Joined
Nov 8, 2013
Messages
12
i am writing a program and i need it each time i make a choice i want it to go back to the menu, how do i tell it to return back to the menu to make a change, i only exit with an exit(0) in the menu, please help me
 
Welcome to the forums, and please read this sticky.

Please provide a code sample of what you've tried thus far, and we can help.
 
...And along with it, could you please provide more detail about the problem at hand? I'm not exactly sure what you're trying to accomplish, so when you post your code sample, try to explain what you're trying to have happen.
 
It sounds like you want a loop.

Googling "replace_this_with_your_language control structures" would probably be a solid start.
 
If you're learning a language in class, I recommend you buy a book on said language. That will give you a massive advantage over the other students. Speak to your teacher for recommendations, as they're probably following a book themselves.
 
Thank you guys, i just had to add a while loop, thank you, i just purchase a C++ language book, upon your suggestions, and thank you for the Google search tip, it is very helpfull
 
Back
Top