📄 node77.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//FR">
<!--Converted with LaTeX2HTML 97.1 (release) (July 13th, 1997)
by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippman, Marek Rouchal, Martin Wilck and others -->
<HTML><BLOCKQUOTE><img src="logo.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/logo.gif" ALIGN=right></A>
<HEAD>
<TITLE>Structures, unions et 閚um閞ations</TITLE>
<META NAME="description" CONTENT="Structures, unions et 閚um閞ations">
<META NAME="keywords" CONTENT="Introduction_ANSI_C">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso_8859_1">
<LINK REL="STYLESHEET" HREF="Introduction_ANSI_C.css" tppabs="http://www.linux-kheops.com/doc/ansi-c/Introduction_ANSI_C.css">
<LINK REL="next" HREF="node96.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node96.htm">
<LINK REL="previous" HREF="node68.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node68.htm">
<LINK REL="up" HREF="Introduction_ANSI_C.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/Introduction_ANSI_C.htm">
<LINK REL="next" HREF="node78.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node78.htm">
</HEAD>
<BODY BACKGROUND="marge.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/marge.gif" TEXT=#000000 LINK=#FF0000 VLINK=#1809BB >
<!--Navigation Panel-->
<A NAME="tex2html2325"
HREF="node78.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node78.htm">
<IMG WIDTH="77" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="next_motif.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/next_motif.gif"></A>
<A NAME="tex2html2321"
HREF="Introduction_ANSI_C.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/Introduction_ANSI_C.htm">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="up_motif.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/up_motif.gif"></A>
<A NAME="tex2html2315"
HREF="node76.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node76.htm">
<IMG WIDTH="96" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="previous_motif.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html2323"
HREF="node1.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node1.htm">
<IMG WIDTH="96" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="contents_motif.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/contents_motif.gif"></A>
<A NAME="tex2html2324"
HREF="node174.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node174.htm">
<IMG WIDTH="59" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
SRC="index_motif.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/icons.gif/index_motif.gif"></A>
<BR>
<B> Suivant:</B> <A NAME="tex2html2326"
HREF="node78.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node78.htm">Notion de structure</A>
<B> D閎ut:</B> <A NAME="tex2html2322"
HREF="Introduction_ANSI_C.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/Introduction_ANSI_C.htm">ANSI_C</A>
<B> Pr閏閐ent:</B> <A NAME="tex2html2316"
HREF="node76.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node76.htm">Exercice 2</A><HR>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><font COLOR=#1809BB><A NAME="SECTION00800000000000000000">
Structures, unions et 閚um閞ations</A>
</font></H1>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"> </A>
<UL>
<LI><A NAME="tex2html2327"
HREF="node78.htm#SECTION00810000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node78.htm#SECTION00810000000000000000">
Notion de structure</A>
<LI><A NAME="tex2html2328"
HREF="node79.htm#SECTION00820000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node79.htm#SECTION00820000000000000000">
D閏laration de structure</A>
<UL>
<LI><A NAME="tex2html2329"
HREF="node79.htm#SECTION00820100000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node79.htm#SECTION00820100000000000000">
Premi鑢e m閠hode</A>
<LI><A NAME="tex2html2330"
HREF="node79.htm#SECTION00820200000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node79.htm#SECTION00820200000000000000">
Deuxi鑝e m閠hode</A>
<LI><A NAME="tex2html2331"
HREF="node79.htm#SECTION00820300000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node79.htm#SECTION00820300000000000000">
Troisi鑝e m閠hode</A>
<LI><A NAME="tex2html2332"
HREF="node79.htm#SECTION00821000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node79.htm#SECTION00821000000000000000">
Initialisation d'une structure</A>
</UL>
<LI><A NAME="tex2html2333"
HREF="node80.htm#SECTION00830000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node80.htm#SECTION00830000000000000000">
Op閞ateurs sur les structures</A>
<UL>
<LI><A NAME="tex2html2334"
HREF="node80.htm#SECTION00831000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node80.htm#SECTION00831000000000000000">
Acc鑣 aux membres des structures</A>
<LI><A NAME="tex2html2335"
HREF="node80.htm#SECTION00832000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node80.htm#SECTION00832000000000000000">
Affectation de structures</A>
<LI><A NAME="tex2html2336"
HREF="node80.htm#SECTION00833000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node80.htm#SECTION00833000000000000000">
Comparaison de structures</A>
</UL>
<LI><A NAME="tex2html2337"
HREF="node81.htm#SECTION00840000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node81.htm#SECTION00840000000000000000">
Tableaux de structures</A>
<LI><A NAME="tex2html2338"
HREF="node82.htm#SECTION00850000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node82.htm#SECTION00850000000000000000">
Exercice</A>
<LI><A NAME="tex2html2339"
HREF="node83.htm#SECTION00860000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node83.htm#SECTION00860000000000000000">
Pointeurs vers une structure</A>
<LI><A NAME="tex2html2340"
HREF="node84.htm#SECTION00870000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node84.htm#SECTION00870000000000000000">
Structures dont un des membres pointe vers une structure du m阭e type</A>
<LI><A NAME="tex2html2341"
HREF="node85.htm#SECTION00880000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node85.htm#SECTION00880000000000000000">
Acc鑣 aux 閘閙ents d'une structure point閑</A>
<LI><A NAME="tex2html2342"
HREF="node86.htm#SECTION00890000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node86.htm#SECTION00890000000000000000">
Passage de structures en param鑤re</A>
<UL>
<LI><A NAME="tex2html2343"
HREF="node86.htm#SECTION00891000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node86.htm#SECTION00891000000000000000">
Attention</A>
</UL>
<LI><A NAME="tex2html2344"
HREF="node87.htm#SECTION008100000000000000000" tppabs="http://www.linux-kheops.com/doc/ansi-c/node87.htm#SECTION008100000000000000000">
D閠ermination de la taille allou閑
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -