Console application written in C++