own c++ programme