relationshop with C++