add C++ template and update title