\newcommand{\csource}[2]{ \lstset{frameround=tttt} \lstinputlisting[language=c, basicstyle=\footnotesize, stepnumber=1, stringstyle={\ttfamily}, frame=single, caption={#2}, breaklines=true, showspaces=false, showstringspaces=false, numbers=left, label={#2}]{#1} }