c++/prim