- Joined
- Jun 10, 2008
- Messages
- 117
- Reaction score
- 0
I am trying to put together a VERY VERY VERY VERY basic script and i want the program to go back to the beginning if it doesn't do what i want.
ie(THIS IS NOT PART OF MY SCRIPT)
somethinghere
cout<< "Please enter number #1" << "\n";
cin>> a;
if (a < 1){
cout<< "Please use a whole number" << endl;
goto somethinghere
}
can someone help me with this. please feel free to use the example to help
ie(THIS IS NOT PART OF MY SCRIPT)
somethinghere
cout<< "Please enter number #1" << "\n";
cin>> a;
if (a < 1){
cout<< "Please use a whole number" << endl;
goto somethinghere
}
can someone help me with this. please feel free to use the example to help

