Simple Client coded in C++