C C++ work