lstinputlisting line range

\lstinputlisting[firstline=300,lastline=500]{file.cc}