Graphics client in C++