So I am adding some C++ code snippets in my document using
\lstset {language=C++}
\begin{lstlisting}
for (int i=0; i<iterations;i++)
{
do something
}
\end{lstlisting}
My issue is that the font in the code appears different and apparently bigger than the other normal text of the document.Is it supposed to be like this or if not how can I specify a specific size for the font.Also is there a way were I can have a light background for the code something like what I have for the code above?
