add C++ setting