[c++] How do you exit from a void function in C++?