C++ Test console application