Hello ,
I have wrote a very long c++ program that runs perfect when run it the first time. But at the end of it I ask the user if they want to run again. If they hit 'y' then it will call the main() function and run again. The problem is the program will redirect the user to my error() function because all the variables that the user choose the first time the program was ran are still being stored. Is there anyway I can flush all the vars used the first time , as if the program was being ran for the first time. Thanks , Chris
2007-02-20
04:00:53
·
6 answers
·
asked by
chaessigbikerboy
2
in
Computers & Internet
➔ Programming & Design