%
% This file was automatically produced at Sep 13 2001, 16:52:17 by
% c++2latex -h +header +complete-file +c-plusplus projet28-09-2001.cpp
%
\documentclass[a4paper,11pt]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{a4}
\usepackage{indentfirst,fancyhdr}
\usepackage[rdkeywords,index]{listings}
\setlength{\textwidth}{18cm}
\setlength{\textheight}{26cm}
\setlength{\hoffset}{-2.5cm}
\setlength{\voffset}{-2.5cm}
\lhead{1ere Candidature Informatique (Groupe 5): Projet 1}
\chead{}
\rhead{Henry Ledoux}
\lfoot{\thepage}
\cfoot{}
\rfoot{Jeudi 11 Octobre 2001.}
\addtolength{\headheight}{14pt}
\pagestyle{fancy}
\begin{document}
\lstset{language=c++,basicstyle=\small,commentstyle=\itshape,stringstyle=\ttfamily,stringspaces=false}

{\large Solution à la question 1:}

\lstinputlisting{projet-1-a.cpp}

\begin{center}
\rule[1cm]{15cm}{1pt}
\end{center}

{\large Solution à la question 2:}

\lstinputlisting[escapeinside=`']{projet-1-b.cpp}

\end{document}
