C and C++ code