How to write “C++” in LaTeX May 24, 2023 by Tarik The standard solution for cases like this is to use verbatim: \verb!C++!