+ 3

i wanna return program. So my program start again. What do you know about it?

return

9th Mar 2017, 3:15 PM
Davud Davudov
Davud Davudov - avatar
6 Answers
+ 18
Use a while loop like this: while(true) { // your code }
9th Mar 2017, 4:03 PM
Jafca
Jafca - avatar
+ 17
Use a while loop or just start your program again.
9th Mar 2017, 4:00 PM
Jafca
Jafca - avatar
+ 3
my program ended. i want program start again
9th Mar 2017, 3:37 PM
Davud Davudov
Davud Davudov - avatar
+ 3
how?
9th Mar 2017, 4:01 PM
Davud Davudov
Davud Davudov - avatar
+ 2
Return is not a kind of Goto. I don't know what is the best in C++ to do what you want but you are on the wrong way.
9th Mar 2017, 3:19 PM
Geoffrey L
Geoffrey L - avatar
+ 2
thank you very much
9th Mar 2017, 4:04 PM
Davud Davudov
Davud Davudov - avatar