my own test in c++