In my paper I want to include some source codes with colored sytax. For syntax highlighting I use the listings package:
\lstset{frame=tb,
language={[Visual]Basic},
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true
tabsize=3
}
And then in the document:
\begin{lstlisting}
'test
\end{lstlisting}
This works for one language (Visual Basic in the example above). But now I also want to include some C code. How can I achieve this?

lstsetparameters for multiple languages helps. – Mike Renfro Apr 02 '13 at 13:41