from C to C++ program.