turn that C++ into C