C and C++ codes