ending problem

This is a discussion on ending problem within the C++ Programming forums, part of the General Programming Boards category; okay here is the problem. You see I am writing a dice rolling game. Kinda like craps. I got the ...

ending problem

okay here is the problem. You see I am writing a dice rolling game. Kinda like craps. I got the dice rolling part all worked out. But the problem is, When the player wins or loses, it closes. Soa ny help would be great.

The way I see it coded, it looks like it's supposed to close when they win or lose. If you want it to ask for a new game or continue then you have to the gamestatus == WON if statement into the loop and change the condition of the loop.

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell