<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">  <!--Converted with LaTeX2HTML 2K.1beta (1.48) original version by:  Nikos Drakos, CBLU, University of Leeds * revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from:   Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Support de Cours de Langage C</TITLE> <META NAME="description" CONTENT="Support de Cours de Langage C"> <META NAME="keywords" CONTENT="Html"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global">  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">  <LINK REL="STYLESHEET" HREF="Html.css">  <LINK REL="next" HREF="node1.html"> </HEAD>  <BODY >  <A NAME="tex2html164"   HREF="node1.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>  <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_g.png">  <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev_g.png">  <A NAME="tex2html160"   HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  <A NAME="tex2html162"   HREF="node196.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html165"   HREF="node1.html">Table des mati&#232;res</A> <BR> <P>  <H1 ALIGN="CENTER">Support de Cours de Langage C</H1> <P ALIGN="CENTER"><STRONG>Christian Bac</STRONG></P>  <P> <BR> <HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"></A>  <UL> <LI><A NAME="tex2html166"   HREF="node1.html">Table des mati&#232;res</A> <LI><A NAME="tex2html167"   HREF="node2.html">Avant-propos</A> <LI><A NAME="tex2html168"   HREF="node3.html">Historique et prsentation</A> <UL> <LI><A NAME="tex2html169"   HREF="node4.html">Historique</A> <LI><A NAME="tex2html170"   HREF="node5.html">Prsentation du langage</A> <LI><A NAME="tex2html171"   HREF="node6.html">Ides fondamentales</A> <LI><A NAME="tex2html172"   HREF="node7.html">En-chaneur de passes</A> <UL> <LI><A NAME="tex2html173"   HREF="node8.html">Pr-processeur</A> <LI><A NAME="tex2html174"   HREF="node9.html">Compilateur</A> <LI><A NAME="tex2html175"   HREF="node10.html">Optimiseur de code</A> <LI><A NAME="tex2html176"   HREF="node11.html">Assembleur</A> <LI><A NAME="tex2html177"   HREF="node12.html">diteur de liens</A> <LI><A NAME="tex2html178"   HREF="node13.html">Quelques options de cc</A> </UL> </UL> <BR> <LI><A NAME="tex2html179"   HREF="node14.html">Gnralits sur la syntaxe</A> <UL> <LI><A NAME="tex2html180"   HREF="node15.html">Mise en page</A> <UL> <LI><A NAME="tex2html181"   HREF="node16.html">Identifiant</A> <LI><A NAME="tex2html182"   HREF="node17.html">Espaces lexicaux</A> </UL> <LI><A NAME="tex2html183"   HREF="node18.html">Mots rservs</A> <LI><A NAME="tex2html184"   HREF="node19.html">Constantes</A> <LI><A NAME="tex2html185"   HREF="node20.html">Instructions</A> </UL> <BR> <LI><A NAME="tex2html186"   HREF="node21.html">Types et variables</A> <UL> <LI><A NAME="tex2html187"   HREF="node22.html">Types de base</A> <UL> <LI><A NAME="tex2html188"   HREF="node23.html">Types entiers</A> <LI><A NAME="tex2html189"   HREF="node24.html">Types avec parties dcimales</A> <LI><A NAME="tex2html190"   HREF="node25.html">Tailles des types</A> </UL> <LI><A NAME="tex2html191"   HREF="node26.html">Constantes associes aux types de base</A> <UL> <LI><A NAME="tex2html192"   HREF="node27.html">Constantes de type entier</A> <LI><A NAME="tex2html193"   HREF="node28.html">Constantes avec partie dcimale</A> <LI><A NAME="tex2html194"   HREF="node29.html">Constantes caractres</A> <LI><A NAME="tex2html195"   HREF="node30.html">Chanes de caractres</A> </UL> <LI><A NAME="tex2html196"   HREF="node31.html">Qualificatifs</A> <LI><A NAME="tex2html197"   HREF="node32.html">Taille et Normalisation</A> <LI><A NAME="tex2html198"   HREF="node33.html">Dfinition de variables</A> <LI><A NAME="tex2html199"   HREF="node34.html">Types drivs</A> <UL> <LI><A NAME="tex2html200"   HREF="node35.html">Tableaux et structures</A> <LI><A NAME="tex2html201"   HREF="node36.html">Pointeurs</A> </UL> <LI><A NAME="tex2html202"   HREF="node37.html">Initialisation</A> <LI><A NAME="tex2html203"   HREF="node38.html">Conversion de type</A> <LI><A NAME="tex2html204"   HREF="node39.html">Dclaration versus dfinition</A> </UL> <BR> <LI><A NAME="tex2html205"   HREF="node40.html">Elments de base</A> <UL> <LI><A NAME="tex2html206"   HREF="node41.html">Bonjour</A> <LI><A NAME="tex2html207"   HREF="node42.html">Lire et crire</A> <LI><A NAME="tex2html208"   HREF="node43.html">Quelques oprations</A> <LI><A NAME="tex2html209"   HREF="node44.html">Plus sur <TT>printf()</TT> et <TT>scanf()</TT></A> </UL> <BR> <LI><A NAME="tex2html210"   HREF="node45.html">Oprateurs et expressions</A> <UL> <LI><A NAME="tex2html211"   HREF="node46.html">Oprateurs un-aires</A> <UL> <LI><A NAME="tex2html212"   HREF="node47.html">Oprateur d'adresse</A> <LI><A NAME="tex2html213"   HREF="node48.html">Oprateur d'indirection</A> <LI><A NAME="tex2html214"   HREF="node49.html">Utilisation du &amp; et de l'*</A> <LI><A NAME="tex2html215"   HREF="node50.html">Oprateur d'incrmentation et de dcrmentation</A> <LI><A NAME="tex2html216"   HREF="node51.html">Oprateur de taille</A> <LI><A NAME="tex2html217"   HREF="node52.html">Not Logique</A> <LI><A NAME="tex2html218"   HREF="node53.html">Plus et moins unaires</A> <LI><A NAME="tex2html219"   HREF="node54.html">Complment  un</A> </UL> <LI><A NAME="tex2html220"   HREF="node55.html">Oprateurs binaires</A> <UL> <LI><A NAME="tex2html221"   HREF="node56.html">Oprateurs arithmtiques</A> <LI><A NAME="tex2html222"   HREF="node57.html">Oprateurs niveau bit</A> <LI><A NAME="tex2html223"   HREF="node58.html">Oprateurs de masquage</A> <LI><A NAME="tex2html224"   HREF="node59.html">Oprateurs binaire de dcalage</A> <LI><A NAME="tex2html225"   HREF="node60.html">Oprateurs binaire de relation</A> <LI><A NAME="tex2html226"   HREF="node61.html">Oprateur binaire d'affectation et de succession</A> <LI><A NAME="tex2html227"   HREF="node62.html">Oprateurs binaires d'affectation</A> <LI><A NAME="tex2html228"   HREF="node63.html">Oprateur ternaire</A> <LI><A NAME="tex2html229"   HREF="node64.html">Prcdence des oprateurs</A> </UL> <LI><A NAME="tex2html230"   HREF="node65.html">Expressions</A> <LI><A NAME="tex2html231"   HREF="node66.html">Instructions</A> </UL> <BR> <LI><A NAME="tex2html232"   HREF="node67.html">Instructions de contrle</A> <UL> <LI><A NAME="tex2html233"   HREF="node68.html">Instructions conditionnelles</A> <UL> <LI><A NAME="tex2html234"   HREF="node69.html">Test</A> <LI><A NAME="tex2html235"   HREF="node70.html">Table de branchement</A> </UL> <LI><A NAME="tex2html236"   HREF="node71.html">Instructions rptitives</A> <UL> <LI><A NAME="tex2html237"   HREF="node72.html">while</A> <LI><A NAME="tex2html238"   HREF="node73.html">for</A> <LI><A NAME="tex2html239"   HREF="node74.html">do while</A> <LI><A NAME="tex2html240"   HREF="node75.html">Remarques sur les rptitives</A> </UL> <LI><A NAME="tex2html241"   HREF="node76.html">Ruptures de squence</A> <UL> <LI><A NAME="tex2html242"   HREF="node77.html">continue</A> <LI><A NAME="tex2html243"   HREF="node78.html">break</A> <LI><A NAME="tex2html244"   HREF="node79.html">goto</A> <LI><A NAME="tex2html245"   HREF="node80.html">return</A> </UL> </UL> <BR> <LI><A NAME="tex2html246"   HREF="node81.html">Programmation structure</A> <UL> <LI><A NAME="tex2html247"   HREF="node82.html">Historique</A> <LI><A NAME="tex2html248"   HREF="node83.html">Ides fondamentales</A> <LI><A NAME="tex2html249"   HREF="node84.html">Langage C et Programmation Structure</A> <UL> <LI><A NAME="tex2html250"   HREF="node85.html">Ambitions du langage C</A> <LI><A NAME="tex2html251"   HREF="node86.html">C et Structures Fondamentales</A> </UL> <LI><A NAME="tex2html252"   HREF="node87.html">Quelques exemples</A> <UL> <LI><A NAME="tex2html253"   HREF="node88.html">Conditions</A> <LI><A NAME="tex2html254"   HREF="node89.html">Table de branchement</A> <LI><A NAME="tex2html255"   HREF="node90.html">Boucles</A> </UL> </UL> <BR> <LI><A NAME="tex2html256"   HREF="node91.html">Fonctions</A> <UL> <LI><A NAME="tex2html257"   HREF="node92.html">Dfinition d'une fonction</A> <LI><A NAME="tex2html258"   HREF="node93.html">Passage des paramtres</A> <UL> <LI><A NAME="tex2html259"   HREF="node94.html">Passage de constantes</A> <LI><A NAME="tex2html260"   HREF="node95.html">Passage de variables</A> </UL> <LI><A NAME="tex2html261"   HREF="node96.html">Utilisation de pointeurs en paramtres</A> <LI><A NAME="tex2html262"   HREF="node97.html">Conversions de type des paramtres</A> <LI><A NAME="tex2html263"   HREF="node98.html">Retour de fonction</A> <LI><A NAME="tex2html264"   HREF="node99.html">Rcursivit</A> <LI><A NAME="tex2html265"   HREF="node100.html">Paramtres de la fonction main()</A> <LI><A NAME="tex2html266"   HREF="node101.html">Pointeur de fonction</A> <LI><A NAME="tex2html267"   HREF="node102.html">Etapes d'un appel de fonction</A> </UL> <BR> <LI><A NAME="tex2html268"   HREF="node103.html">Compilations spares</A> <UL> <LI><A NAME="tex2html269"   HREF="node104.html">Programme</A> <LI><A NAME="tex2html270"   HREF="node105.html">Fichier source</A> <LI><A NAME="tex2html271"   HREF="node106.html">Visibilit</A> <UL> <LI><A NAME="tex2html272"   HREF="node107.html">Extension de la visibilit</A> </UL> <LI><A NAME="tex2html273"   HREF="node108.html">Prototypes des fonctions</A> <LI><A NAME="tex2html274"   HREF="node109.html">Fonctions externes</A> <LI><A NAME="tex2html275"   HREF="node110.html">Fonctions dfinies ultrieurement</A> <LI><A NAME="tex2html276"   HREF="node111.html">Vrifications des prototypes</A> <LI><A NAME="tex2html277"   HREF="node112.html">Multiples dclarations et dfinitions</A> <UL> <LI><A NAME="tex2html278"   HREF="node113.html">Fichiers d'inclusion</A> <LI><A NAME="tex2html279"   HREF="node114.html">Rduction de la visibilit</A> <LI><A NAME="tex2html280"   HREF="node115.html">Variables locales rmanentes</A> <LI><A NAME="tex2html281"   HREF="node116.html">Travailler en groupe</A> </UL> </UL> <BR> <LI><A NAME="tex2html282"   HREF="node117.html">Pointeurs et tableaux</A> <UL> <LI><A NAME="tex2html283"   HREF="node118.html">Tableaux  une dimension</A> <LI><A NAME="tex2html284"   HREF="node119.html">Arithmtique d'adresse et tableaux</A> <LI><A NAME="tex2html285"   HREF="node120.html">Tableaux multidimensionnels</A> <LI><A NAME="tex2html286"   HREF="node121.html">Pointeurs et tableaux</A> <LI><A NAME="tex2html287"   HREF="node122.html">Tableau de pointeurs</A> <LI><A NAME="tex2html288"   HREF="node123.html">Pointeurs de tableau</A> </UL> <BR> <LI><A NAME="tex2html289"   HREF="node124.html">Structures</A> <UL> <LI><A NAME="tex2html290"   HREF="node125.html">Dfinition de structures</A> <LI><A NAME="tex2html291"   HREF="node126.html">Utilisation de structures</A> <UL> <LI><A NAME="tex2html292"   HREF="node127.html">Oprations sur les champs</A> <LI><A NAME="tex2html293"   HREF="node128.html">Oprations sur la variable dans son ensemble</A> </UL> <LI><A NAME="tex2html294"   HREF="node129.html">Structures et listes chanes</A> <LI><A NAME="tex2html295"   HREF="node130.html">Champs de bits</A> </UL> <BR> <LI><A NAME="tex2html296"   HREF="node131.html">Unions</A> <UL> <LI><A NAME="tex2html297"   HREF="node132.html">Dfinition d'union</A> <LI><A NAME="tex2html298"   HREF="node133.html">Accs aux champs</A> </UL> <BR> <LI><A NAME="tex2html299"   HREF="node134.html">numrations</A> <UL> <LI><A NAME="tex2html300"   HREF="node135.html">Dfinition</A> <LI><A NAME="tex2html301"   HREF="node136.html">Utilisation</A> <LI><A NAME="tex2html302"   HREF="node137.html">Limites des numrations</A> </UL> <BR> <LI><A NAME="tex2html303"   HREF="node138.html">Types synonymes et objets complexes</A> <UL> <LI><A NAME="tex2html304"   HREF="node139.html">Types synonymes</A> <LI><A NAME="tex2html305"   HREF="node140.html">Types complexes</A> <LI><A NAME="tex2html306"   HREF="node141.html">Fonctions et tableaux</A> </UL> <BR> <LI><A NAME="tex2html307"   HREF="node142.html">Prprocesseur</A> <UL> <LI><A NAME="tex2html308"   HREF="node143.html">Commentaires</A> <LI><A NAME="tex2html309"   HREF="node144.html">Inclusion de fichiers</A> <LI><A NAME="tex2html310"   HREF="node145.html">Variables de pr-compilation</A> <UL> <LI><A NAME="tex2html311"   HREF="node146.html">Dfinition de constantes de compilation</A> <LI><A NAME="tex2html312"   HREF="node147.html">Dfinition destine  la slection</A> <LI><A NAME="tex2html313"   HREF="node148.html">Effacement d'une dfinition</A> <LI><A NAME="tex2html314"   HREF="node149.html">Dfinition  l'appel de l'enchaneur de passes</A> </UL> <LI><A NAME="tex2html315"   HREF="node150.html">Dfinition de macro-expressions</A> <LI><A NAME="tex2html316"   HREF="node151.html">Slection de code</A> <UL> <LI><A NAME="tex2html317"   HREF="node152.html">Slection avec <TT>#if</TT></A> <LI><A NAME="tex2html318"   HREF="node153.html">Slection avec <TT>#ifdef</TT> et <TT>#ifndef</TT></A> </UL> </UL> <BR> <LI><A NAME="tex2html319"   HREF="node154.html">Entre-sorties de la bibliothque standard</A> <UL> <LI><A NAME="tex2html320"   HREF="node155.html">Entre-sorties standard</A> <UL> <LI><A NAME="tex2html321"   HREF="node156.html">changes caractre par caractre</A> <LI><A NAME="tex2html322"   HREF="node157.html">changes ligne par ligne</A> <LI><A NAME="tex2html323"   HREF="node158.html">changes avec formats</A> </UL> <LI><A NAME="tex2html324"   HREF="node159.html">Ouverture d'un fichier</A> <LI><A NAME="tex2html325"   HREF="node160.html">Fermeture d'un fichier</A> <LI><A NAME="tex2html326"   HREF="node161.html">Accs au contenu du fichier</A> <UL> <LI><A NAME="tex2html327"   HREF="node162.html">Accs caractre par caractre</A> <LI><A NAME="tex2html328"   HREF="node163.html">Accs par ligne</A> <LI><A NAME="tex2html329"   HREF="node164.html">Accs par enregistrement</A> </UL> <LI><A NAME="tex2html330"   HREF="node165.html">Entre-sorties formates</A> <UL> <LI><A NAME="tex2html331"   HREF="node166.html">Formats : cas de la lecture</A> <LI><A NAME="tex2html332"   HREF="node167.html">Formats : cas de l'criture</A> <LI><A NAME="tex2html333"   HREF="node168.html">Conversion sur les entre-sorties standard</A> <LI><A NAME="tex2html334"   HREF="node169.html">Conversion en mmoire</A> <LI><A NAME="tex2html335"   HREF="node170.html">Conversion dans les fichiers</A> </UL> <LI><A NAME="tex2html336"   HREF="node171.html">Dplacement dans le fichier</A> <LI><A NAME="tex2html337"   HREF="node172.html">Gestion des tampons</A> <LI><A NAME="tex2html338"   HREF="node173.html">Gestion des erreurs</A> </UL> <BR> <LI><A NAME="tex2html339"   HREF="node174.html">Autres fonctions de la bibliothque standard</A> <UL> <LI><A NAME="tex2html340"   HREF="node175.html">Fonctions de manipulation de chanes de caractres</A> <LI><A NAME="tex2html341"   HREF="node176.html">Types de caractres</A> <LI><A NAME="tex2html342"   HREF="node177.html">Quelques fonctions gnrales</A> <UL> <LI><A NAME="tex2html343"   HREF="node178.html">system()</A> <LI><A NAME="tex2html344"   HREF="node179.html">exit()</A> </UL> </UL> <BR> <LI><A NAME="tex2html345"   HREF="node180.html">Liste des figures</A> <LI><A NAME="tex2html346"   HREF="node181.html">Liste des tableaux</A> <LI><A NAME="tex2html347"   HREF="node182.html">Bibliographie</A> <LI><A NAME="tex2html348"   HREF="node183.html">GNU Free Documentation License</A> <UL> <LI><A NAME="tex2html349"   HREF="node184.html">Preamble</A> <LI><A NAME="tex2html350"   HREF="node185.html">Applicability and Definitions</A> <LI><A NAME="tex2html351"   HREF="node186.html">Verbatim Copying</A> <LI><A NAME="tex2html352"   HREF="node187.html">Copying in Quantity</A> <LI><A NAME="tex2html353"   HREF="node188.html">Modifications</A> <LI><A NAME="tex2html354"   HREF="node189.html">Combining Documents</A> <LI><A NAME="tex2html355"   HREF="node190.html">Collections of Documents</A> <LI><A NAME="tex2html356"   HREF="node191.html">Aggregation With Independent Works</A> <LI><A NAME="tex2html357"   HREF="node192.html">Translation</A> <LI><A NAME="tex2html358"   HREF="node193.html">Termination</A> <LI><A NAME="tex2html359"   HREF="node194.html">Future Revisions of This License</A> <LI><A NAME="tex2html360"   HREF="node195.html">ADDENDUM: How to use this License for your documents</A> </UL> <BR> <LI><A NAME="tex2html361"   HREF="node196.html">Index</A> <LI><A NAME="tex2html362"   HREF="node197.html">&#192; propos de ce document...</A> <LI> <A HREF="Input.ps.gz">Version PostScript</A> 	compress&eacute;e par gzip (450ko). <LI> <A HREF="Input.ps">Version PostScript</A>  	non compress&eacute;e pour ceux qui n'ont pas gzip (1950ko). <LI> <A HREF="Input.dvi.gz">Version dvi</A>  	compress&eacute;e par gzip (140ko). <LI> <A HREF="Input.dvi">Version dvi</A>  	non compress&eacute;e pour ceux qui n'ont pas gzip (520ko). </UL> <!--End of Table of Child-Links--> <BR> <HR> <ADDRESS> <I>&copy; Christian.Bac AT int-evry.fr <BR> 2002-10-29</I> </ADDRESS> </BODY> </HTML> 
