3b4 % % 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}{24cm} \setlength{\hoffset}{-2.5cm} \setlength{\voffset}{-2.5cm} \lhead{1ere Candidature Informatique (Groupe 5): Projet 2} \chead{} \rhead{Henry Ledoux} \lfoot{\thepage} \cfoot{} \rfoot{Jeudi 18 Octobre 2001.} \addtolength{\headheight}{14pt} \pagestyle{fancy} \begin{document} \lstset{language=c++,basicstyle=\small,commentstyle=\itshape,stringstyle=\ttfamily,stringspaces=false} \expandafter\ifx\csname indentation\endcsname\relax% \newlength{\indentation}\fi \setlength{\indentation}{0.5em} \lstinputlisting{projet-2.cpp} \end{document} 0