How do I quit a C++ program. Which function is called to end a program and which values does the method take?
To clarify I want to exit a C++ program from within my code. And I may want to exit the program outside of the main
function of this program.