LaTeX source code listing like in professional books for \lstinputlisting [closed]

Found this topic: http://stackoverflow.com/questions/741985/latex-source-code-listing-like-in-professional-books and I'm very satisfied with this soulution, it looks just great in a generated pdf file. But how can I do the same for source code that I insert to my *.tex file with `\lstinputlisting`? Thanks

-
Welcome to TeX.sx! –  texenthusiast Apr 4 '13 at 15:44
that is already shown in the example. –  Herbert Apr 4 '13 at 15:45
@Herbert: thank you so much! I don't know why I haven't noticed it before :) Now it's all clear. Cheers! –  Brian Brown Apr 4 '13 at 15:48
You can also upvote this. –  Weirdstress Function Apr 4 '13 at 15:52