made dmcc work with c++