simple C++!1 sample