testing with c++