\documentclass{article}
\usepackage{listings}

\lstset{% Default options for all algorithm listings read
  language=c,
  %labelstep=5,
  %frame=trbl,
  %indent=15pt,
  %indent=12pt,
  showlines=false,
  stringstyle=\itshape%,
  %basicstyle=\ttfamily\footnotesize
}

\author{Nada Amin\\
\texttt{namin@mit.edu}
}

\title{6.003 Lab 2}

\begin{document}

\date{April 6, 2005}

\lstinputlisting{example.c}

\end{document}

