C++ to C