Turn C++ into C and add output messages.