c++ how to stop a program mid way through code example
Example: how to end a c++ program early
void func( bool d )
{
if( ! ( d ) )
return;
//Load of code here that you don't want to execute if the above is incorrect.
}
void func( bool d )
{
if( ! ( d ) )
return;
//Load of code here that you don't want to execute if the above is incorrect.
}