demo c++