added gui to c++