📄 node144.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>Les constantes</TITLE>
<META NAME="description" CONTENT="Les constantes">
<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="node145.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node145.htm">
<LINK REL="previous" HREF="node143.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node143.htm">
<LINK REL="up" HREF="node140.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node140.htm">
<LINK REL="next" HREF="node145.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node145.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="tex2html3429"
HREF="node145.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node145.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="tex2html3425"
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="tex2html3419"
HREF="node143.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node143.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="tex2html3427"
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="tex2html3428"
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="tex2html3430"
HREF="node145.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node145.htm">Les cha頽es litt閞ales</A>
<B> D閎ut:</B> <A NAME="tex2html3426"
HREF="node140.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node140.htm">La grammaire</A>
<B> Pr閏閐ent:</B> <A NAME="tex2html3420"
HREF="node143.htm" tppabs="http://www.linux-kheops.com/doc/ansi-c/node143.htm">Les identificateurs</A><HR>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><font COLOR=#1809BB><A NAME="SECTION001640000000000000000">
Les constantes</A>
</font></H1>
R<SUB>7</SUB><I>constante</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>constante-flottante</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>constante-enti鑢e</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>constante-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>constante-caract鑢e</I>
<BR>
<BR>
R<SUB>8</SUB><I>constante-flottante</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>partie-fractionnaire</I>
<I>partie-exposant<SUB><I>option</I></SUB></I>
<I>suffixe-flottant<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>s閝uence-de-chiffres</I>
<I>partie-exposant</I>
<I>suffixe-flottant<SUB><I>option</I></SUB></I>
<BR>
<BR>
R<SUB>9</SUB><I>partie-fractionnaire</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>s閝uence-de-chiffres<SUB><I>option</I></SUB></I>
<TT>.</TT>
<I>s閝uence-de-chiffres</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>s閝uence-de-chiffres</I>
<TT>.</TT>
<BR>
<BR>
R<SUB>10</SUB><I>partie-exposant</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$"> <TT>e</TT>
<I>signe<SUB><I>option</I></SUB></I>
<I>s閝uence-de-chiffres</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$"> <TT>E</TT>
<I>signe<SUB><I>option</I></SUB></I>
<I>s閝uence-de-chiffres</I>
<BR>
<BR>
R<SUB>11</SUB><I>signe</I> : un parmi
<BR>
<code>+ -</code>
<BR>
<BR>
R<SUB>12</SUB><I>s閝uence-de-chiffres</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>chiffre</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>s閝uence-de-chiffres</I>
<I>chiffre</I>
<BR>
<BR>
R<SUB>13</SUB><I>suffixe-flottant</I> : un parmi
<BR>
<code>f l F L</code>
<BR>
<BR>
R<SUB>14</SUB><I>constante-enti鑢e</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>constante-d閏imale</I>
<I>suffixe-entier<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>constante-octale</I>
<I>suffixe-entier<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>constante-hexad閏imale</I>
<I>suffixe-entier<SUB><I>option</I></SUB></I>
<BR>
<BR>
R<SUB>15</SUB><I>constante-d閏imale</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>chiffre-non-nul</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>constante-d閏imale</I>
<I>chiffre</I>
<BR>
<BR>
R<SUB>16</SUB><I>constante-octale</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$"> <TT>0</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>constante-octale</I>
<I>chiffre-octal</I>
<BR>
<BR>
R<SUB>17</SUB><I>constante-hexad閏imale</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$"> <TT>0x</TT>
<I>chiffre-hexad閏imal</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$"> <TT>0X</TT>
<I>chiffre-hexad閏imal</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>constante-hexad閏imale</I>
<I>chiffre-hexad閏imal</I>
<BR>
<BR>
R<SUB>18</SUB><I>chiffre-non-nul</I> : un parmi
<BR>
<code>1 2 3 4 5 6 7 8 9</code>
<BR>
<BR>
R<SUB>19</SUB><I>chiffre-octal</I> : un parmi
<BR>
<code>0 1 2 3 4 5 6 7</code>
<BR>
<BR>
R<SUB>20</SUB><I>chiffre-hexad閏imal</I> : un parmi
<BR>
<code>0 1 2 3 4 5 6 7 8 9</code>
<BR>
<code>a b c d e f A B C D E F</code>
<BR>
<BR>
R<SUB>21</SUB><I>suffixe-entier</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>suffixe-non-sign
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -