Change mode C++ to C