Shut off command

Is there in c++ something like shut down command?
I mean like for eg when if is included in another loop:

1
2
if (cd==0)
	break;

just instead of breaking the loop and going on i want the programme to complitely shut off.
return
Thanks man, I'm a real noob and I never knew you could use return 0; to shut off a programme in a loop. Thanks again!
Use exit(1); to exit your program (you need to #include <stdlib.h>)
Topic archived. No new replies allowed.