General ⇒ C++ code not highlighted
C++ code not highlighted
I am including C++ code in my report, but the it's not highlighted as how it is in the program, like keywords in blue or red, am using the listings package with language set to C++. Any idea how to do this?
SOLVED!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: C++ code not highlighted
read documentation for lstset and all the parameters can be user defined.
Enjoy