lstinputlisting

LaTeX: Lstlisting automatically recognizing code passage

Hello, I am writing a program (in C, but I suppose that's not so relevant) in connection with a little documentary material in LaTeX. I want the documentary material to contain code snippets from my original code. In order to include source code and keep it up to date, I do the following in my document: \lstinputlisting[firstline=200,...