how to force exit a program c++ 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.
}