⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node151.htm

📁 Tutorila for CPP, very good tutorial for CPP
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!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>Les d閏larations</TITLE>
<META NAME="description" CONTENT="Les d閏larations">
<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="node152.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node152.htm">
<LINK REL="previous" HREF="node150.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node150.htm">
<LINK REL="up" HREF="node140.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node140.htm">
<LINK REL="next" HREF="node152.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node152.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="tex2html3513"
 HREF="node152.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node152.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="tex2html3509"
 HREF="node140.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node140.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="tex2html3503"
 HREF="node150.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node150.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="tex2html3511"
 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="tex2html3512"
 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="tex2html3514"
 HREF="node152.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node152.htm">Les instructions</A>
<B> D閎ut:</B> <A NAME="tex2html3510"
 HREF="node140.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node140.htm">La grammaire</A>
<B> Pr閏閐ent:</B> <A NAME="tex2html3504"
 HREF="node150.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node150.htm">Les expressions</A><HR>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><font COLOR=#1809BB><A NAME="SECTION0016110000000000000000">
Les d閏larations</A>
</font></H1>
 R<SUB>64</SUB><I>d閏laration</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>sp閏ificateurs-de-d閏laration</I>
       <I>liste-de-d閏larateurs-init<SUB><I>option</I></SUB></I>
       <TT>;</TT>
<BR>
<BR>
R<SUB>65</SUB><I>sp閏ificateurs-de-d閏laration</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>sp閏ificateur-de-classe-m閙oire</I>
       <I>sp閏ificateurs-de-d閏laration<SUB><I>option</I></SUB></I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$"> 
       <I>sp閏ificateur-de-type</I>
       <I>sp閏ificateurs-de-d閏laration<SUB><I>option</I></SUB></I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>qualificatif-de-type</I>
       <I>sp閏ificateurs-de-d閏laration<SUB><I>option</I></SUB></I>
<BR>
<BR>
R<SUB>66</SUB><I>liste-de-d閏larateurs-init</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏larateur-init</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>liste-de-d閏larateurs-init</I>
       <TT>,</TT>
       <I>d閏larateur-init</I>
<BR>
<BR>
R<SUB>67</SUB><I>d閏larateur-init</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏larateur</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏larateur</I>
       <TT>=</TT>
       <I>initialisateur</I>
<BR>
<BR>
R<SUB>68</SUB><I>sp閏ificateur-de-classe-m閙oire</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>auto</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">  <TT>extern</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>static</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>register</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>typedef</TT>
<BR>
<BR>
R<SUB>69</SUB><I>sp閏ificateur-de-type</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>void</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>char</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>short</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>int</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>long</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>float</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>double</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>signed</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>unsigned</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>sp閏ificateur-de-struct-ou-union</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>sp閏ificateur-d-閚um閞ation</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>nom-de-typedef</I>
<BR>
<BR>
R<SUB>70</SUB><I>sp閏ificateur-de-struct-ou-union</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>struct-ou-union</I>
       <I>identificateur<SUB><I>option</I></SUB></I>
       <code>{</code>
       <I>liste-de-d閏larations-de-struct</I>
       <code>}</code>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>struct-ou-union</I>
       <I>identificateur</I>
<BR>
<BR>
R<SUB>71</SUB><I>struct-ou-union</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>struct</TT>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <TT>union</TT>
<BR>
<BR>
R<SUB>72</SUB><I>liste-de-d閏larations-de-struct</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏laration-de-struct</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>liste-de-d閏larations-de-struct</I>
       <I>d閏laration-de-struct</I>
<BR>
<BR>
R<SUB>73</SUB><I>d閏laration-de-struct</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>liste-de-sp閏ificateurs-et-qualificatifs</I>
       <I>liste-de-d閏larateurs-de-struct</I>
       <TT>;</TT>
<BR>
<BR>
R<SUB>74</SUB><I>liste-de-sp閏ificateurs-et-qualificatifs</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>sp閏ificateur-de-type</I>
       <I>liste-de-sp閏ificateurs-et-qualificatifs<SUB><I>option</I></SUB></I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>qualificatif-de-type</I>
       <I>liste-de-sp閏ificateurs-et-qualificatifs<SUB><I>option</I></SUB></I>
<BR>
<BR>
R<SUB>75</SUB><I>liste-de-d閏larateurs-de-struct</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏larateur-de-struct</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>liste-de-d閏larateurs-de-struct</I>
       <TT>,</TT>
       <I>d閏larateur-de-struct</I>
<BR>
<BR>
R<SUB>76</SUB><I>d閏larateur-de-struct</I>&nbsp;:
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏larateur</I>
<BR>
    <IMG WIDTH="20" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img3.gif" tppabs="http://www.linux-kheops.com/doc/ansi-c/img3.gif"
 ALT="$\Rightarrow$">       <I>d閏larateur<SUB><I>option</I></SUB></I>
       <TT>:</TT>
       <I>expression-constante</I>
<BR>
<BR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -