LoneSniper
New Member
- Joined
- Aug 8, 2009
- Messages
- 1
- Reaction score
- 0
- Points
- 1
Im still pretty new to c++ But have wrote a basic text calculater with 4 functions +-*/ .
how do i go 'backwards' in code
the code starts with choosing which math function the user wants 1,2,3 or 4
then from then on it works out a sum. but when the sums finished how would i get back to the original menu with out the program closing? [sorry im not good at explaining]
here is my code http://pastebin.com/d64b787cc
i left comments in it showing where i mean.
k thanks ill try that.
how do i go 'backwards' in code
the code starts with choosing which math function the user wants 1,2,3 or 4
then from then on it works out a sum. but when the sums finished how would i get back to the original menu with out the program closing? [sorry im not good at explaining]
here is my code http://pastebin.com/d64b787cc
i left comments in it showing where i mean.
k thanks ill try that.