C++ Flow Control