I want to know how and when can I use the exit() function like the program in my book:
exit()
#include void main() { int goals;
Use process.h instead of stdlib and iostream... It will work 100%.