new c++ console example