C++ simple menu with switch