+\lstset{language=C++}
+
+\lstset{basicstyle=\small,
+ labelstyle=\tiny,
+ labelstep=1,
+ labelsep=2pt,
+ frame=TB,
+ frametextsep=5pt,
+ basicstyle=\ttfamily,
+ keywordstyle=\color{blue}\ttfamily,
+ ndkeywordstyle=\color{yellow}\ttfamily,
+% rdkeywordstyle=\ttfamily,
+ identifierstyle=\ttfamily,
+ commentstyle=\color{red}\ttfamily,
+ stringstyle=\color{green}\ttfamily,
+% texcsststyle=\ttfamily,
+ directivestyle=\color{magenta}\ttfamily
+}