Added streaming operators and used to simplify code in cppMenu.cpp