c/c++ code