\documentclass[12pt]{book}

\input{../../header}

\lstset{inputpath=../code}
\graphicspath{{figures/}}

\setcounter{page}{57}
\setcounter{chapter}{2}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} 

\input{programmingstyle}

\end{document}