[c++] How do I "break" out of an if statement?