Add macro for C++ code input