﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-尘封阁-随笔分类-速查手册</title><link>http://www.cnitblog.com/cockerel/category/3076.html</link><description>多想相邀再次喝酒，待葡萄成熟透</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 06:40:07 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 06:40:07 GMT</pubDate><ttl>60</ttl><item><title>中关村西区附近送餐的餐馆</title><link>http://www.cnitblog.com/cockerel/archive/2007/12/19/37906.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Wed, 19 Dec 2007 13:19:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/12/19/37906.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/37906.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/12/19/37906.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/37906.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/37906.html</trackback:ping><description><![CDATA[<p>—&#8211;两湖轩商务套餐—-<br>82626078 中餐：9：30——13：00 晚餐：17：00——20：00 每份套餐含时令水果和汤各一份<br>迷宗带鱼饭 15元/套<br>小炒黄牛肉饭 15元/套<br>红烧牛腩饭 12元/套<br>焦溜丸子饭 12元/套<br>家乡肉丝饭 10元/套<br>宫保鸡丁饭 10元/套<br>小葱煎豆腐饭 10元/套<br>鱼香肉丝饭 10元/套<br>川式回锅肉饭 10元/套<br>—-东池便当——-<br>82612896 62565225 8：00——20：00 午饭尽量于11点前预定 随餐送热汤<br>招牌饭 12元<br>香肠饭 12元<br>鱼排饭 12元<br>花枝排饭 12元<br>鸡翅饭 12元<br>瓜仔肉燥饭 12元<br>红烧排骨饭 13元<br>排骨饭 13元<br>鸡腿饭 13元<br>—-东来顺—-<br>62560556 62563755 提前1小时预定 12元以上快餐送百事饮料、雀巢咖啡或新鲜水果，任选一款<br>港式原味快餐 10-14元<br>风味木桶饭 12-18元<br>特色单锅小炒盖饭 8-16元<br>美容清爽时蔬系列 8-12元 </p>
<p>—-双马—-<br>62612041 9：00——20：00<br>各种套餐 27-33元<br>各种咖喱饭 20-30元<br>各种沙拉 10元<br>—-叮当快餐—-<br>62640518 中午 11：00——14：30 晚上 17：00——23：00<br>农家小炒肉 8元<br>红烧带鱼 12元<br>回锅肉盖饭 10元<br>木须肉盖饭 10元<br>鱼香肉丝盖饭 10元<br>宫爆鸡丁盖饭 10元<br>土豆烧牛肉盖饭 12元<br>红烧鸡块盖饭 12元<br>红烧排骨盖饭 12元<br>—-丽华快餐—-<br>400 8800 400 67781234 中午 11：00-13：45 下午 17：00-19：30下午订餐10元以上一份起送，6元五份以上起送<br>6元菜谱： 佛手瓜鸡片 雪菜肉丝 醋溜土豆丝 爆三样<br>10元菜谱： 青笋炖鸡 雪菜炖肉 蒜苗肉丝 尖椒素肚丝 地三鲜<br>15元菜谱： 香炸鸡腿 火爆目鱼花 冬笋炒肉丝 尖椒蘑芋丝 茭白鸡蛋 蒜茸木耳菜 20元菜谱：香炸鸡腿 火爆目鱼花 蒜苗肉丝 罗汉鸡胗 蒜茸苦瓜 三色蘑芋丝 蒜茸木耳菜<br>—-其他—&#8211;<br>麦当劳 鼎好 82699351 50元起送<br>kfc 第三极 62681476<br>吉野家 鼎好 82696621 七份起送<br>真功夫 鼎好 82697345 20元起送<br>合和谷 海龙 82660721 5份或50元起送<br>两湖轩 中关村南 82626078 一份起送（中餐）<br>赛百味 中关村 59863537 20元起送（三明治、沙拉&#8230;）</p><img src ="http://www.cnitblog.com/cockerel/aggbug/37906.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-12-19 21:19 <a href="http://www.cnitblog.com/cockerel/archive/2007/12/19/37906.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C风格输出格式化字符串语法[转]</title><link>http://www.cnitblog.com/cockerel/archive/2007/12/07/37435.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Thu, 06 Dec 2007 17:10:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/12/07/37435.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/37435.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/12/07/37435.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/37435.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/37435.html</trackback:ping><description><![CDATA[<h4 class="sol">按：寻寻觅觅了许久，终于找到了一个比较详细的版本，来源是sun公司的文档，应该都比较权威。原文见<a href="http://docs.sun.com/app/docs/doc/806-7023/6jfu564ks?l=zh_TW&amp;a=view">http://docs.sun.com/app/docs/doc/806-7023/6jfu564ks?l=zh_TW&amp;a=view</a></h4>
<h4 class="sol">NAME</h4>
<ul>printf, sprintf, snprintf, printerr- print formatted output</ul>
    <a name="SYNOPSIS"></a>
    <h4 class="sol">SYNOPSIS</h4>
    <ul>
        <p>
        </p>
        <pre>$(NUCLEUS_DIR)/lib/embedded/libebd.s.a<br>#include &lt;stdio.h&gt;</pre>
        int
        printf(const char *
        <var>format</var>, ... /* args */);<br>
        int
        sprintf(char *
        <var>s</var>, const char *
        <var>format</var>, ... /* args */);<br>
        int
        snprintf(char *
        <var>s</var>, size_t
        <var>size</var>, const char *
        <var>format</var>, ... /* args */);<br>
        int
        printerr(const char *
        <var>format</var>, ... /* args */);<br></ul>
        <a name="API RESTRICTIONS"></a>
        <h4 class="sol">API RESTRICTIONS</h4>
        <ul>
            <p>The function or functions documented here may not be used safely in
            all application contexts with all APIs provided in the ChorusOS 5.0
            product.</p>
            <p>See
            <a href="http://docs.sun.com/app/docs/doc/816-0349/6m6rfpka9?l=zh_TW&amp;a=view">API(5FEA)</a>
            for details.</p>
        </ul>
        <a name="DESCRIPTION"></a>
        <h4 class="sol">DESCRIPTION</h4>
        <ul>
            <p>The
            <kbd><strong>printf()</strong></kbd>
            function sends output to the standard
            output channel, which is system defined. The
            <kbd><strong>printerr()</strong></kbd>
            function sends output to the standard error channel, which is system-defined.
            The
            <kbd><strong>sprintf()</strong></kbd>
            function sends output, followed by the null
            character (
            <tt>\\0</tt>
            ), in consecutive bytes starting at *
            <var>s</var>
            ; it is the user's responsibility to ensure that enough storage
            is available. Each function returns the number of characters transmitted (not
            including the
            <tt>\\0</tt>
            in the case of
            <kbd><strong>sprintf()</strong></kbd>
            ),
            or a negative value if an output error was encountered.</p>
            <p>The
            <kbd><strong>snprintf()</strong></kbd>
            function writes at most
            <var>size-1</var>
            of the characters printed to the output string (the
            <var>size</var>
            character then gets the terminating zero). If the return
            value is greater than or equal to the
            <var>size</var>
            argument,
            the string was too short and some of the printed characters have been discarded.</p>
            <p>Each of these functions converts, formats, and prints its
            <var>arg</var>
            s under control of the
            <var>format</var>
            .</p>
            <p>The format has the general form:</p>
            <p>
            </p>
            <pre>%[flags] [width] [.precision] [{h | l | ll | q | L }]conversion_code</pre>
            <p>This
            <var>format</var>
            is a character string that contains
            two types of objects: plain characters, which are simply copied to the output
            channel, and conversion specifications, each of which results in obtaining
            zero or more
            <var>arg</var>
            s. The results are undefined if there
            are insufficient
            <var>arg</var>
            s for the format. If the format
            is exhausted while
            <var>arg</var>
            s remain, the excess
            <var>arg</var>
            s are simply ignored.</p>
            <a name="Flags"></a>
            <h4 class="sol">Flags</h4>
            <ul>
                <p>The flag characters and their meanings are:</p>
                <p>
                </p>
                <dl><dt>
                <tt>-</tt>
                </dt><dd>
                <p>The result of the conversion will be left-justified
                within the field.</p>
                </dd><dt>
                <tt>+</tt>
                </dt><dd>
                <p>The result
                of a signed conversion will always begin with a sign (
                <tt>+</tt>
                or
                <tt>-</tt>
                ).</p>
                </dd><dt>
                <tt>blank</tt>
                </dt><dd>
                <p>If the
                first character of a signed conversion is not a sign, a blank will be prefixed
                to the result. This implies that if the blank and
                <tt>+</tt>
                flags
                both appear, the blank flag will be ignored.</p>
                </dd><dt>
                <tt>#</tt>
                </dt><dd>
                <p>This flag
                specifies that the value is to be converted to an ``alternate form.''
                For
                <tt>c</tt>
                ,
                <tt>d</tt>
                ,
                <tt>s</tt>
                , and
                <tt>u</tt>
                conversions, the flag has no effect. For
                <tt>o</tt>
                conversion, it increases the precision to force the first digit of the result
                to be a zero. For
                <tt>x</tt>
                or
                <tt>X</tt>
                conversion,
                a non-zero result will have
                <tt>0x</tt>
                or
                <tt>0X</tt>
                prefixed to it. For
                <tt>e</tt>
                ,
                <tt>E</tt>
                ,
                <tt>f</tt>
                ,
                <tt>g</tt>
                , and
                <tt>G</tt>
                conversions, the
                result will always contain a decimal point, even if no digits follow the point
                (normally, a decimal point appears in the result of these conversions only
                if a digit follows it). For
                <tt>g</tt>
                and
                <tt>G</tt>
                conversions, trailing zeroes will not be removed from the result (which they
                normally are).</p>
                </dd></dl></ul>
                <a name="Width"></a>
                <h4 class="sol">Width</h4>
                <ul>
                    <p>The
                    <var>width</var>
                    field is an optional decimal digit
                    string specifying a minimum  field width. If the converted value has fewer
                    characters than the field width, it  will be padded on the left (or right,
                    if the left-adjustment flag `-', described above, has been set) to the  field
                    width. If the field width for an
                    <tt>s</tt>
                    conversion is preceded
                    by a
                    <tt>0</tt>
                    , the string is right adjusted with zero-padding
                    on the left.</p>
                    <p>The
                    <var>width</var>
                    field may be indicated by an asterisk
                    (
                    <tt>*</tt>
                    ) instead of a digit string. In this case, an integer
                    <var>arg</var>
                    supplies the field width or precision. The
                    <var>arg</var>
                    that is actually converted is not fetched until the conversion
                    letter is seen, so the
                    <var>arg</var>
                    s specifying field width
                    or precision must appear before the
                    <var>arg</var>
                    (if any) to
                    be converted.</p>
                </ul>
                <a name="Precision"></a>
                <h4 class="sol">Precision</h4>
                <ul>
                    <p>The
                    <var>precision</var>
                    field is an optional field that
                    gives the minimum number of digits to appear for the
                    <tt>d</tt>
                    ,
                    <tt>o</tt>
                    ,
                    <tt>u</tt>
                    ,
                    <tt>x</tt>
                    , or
                    <tt>X</tt>
                    conversions, the number of digits to appear after the decimal point for the
                    <tt>e</tt>
                    and
                    <tt>f</tt>
                    conversions, the maximum number of significant
                    digits for the
                    <tt>g</tt>
                    conversion, or the maximum number of characters
                    to be printed from a string in an
                    <tt>s</tt>
                    conversion. The precision
                    takes the form of a dot (
                    <tt>.</tt>
                    ) followed by a decimal digit
                    string. A null digit string is treated as zero.</p>
                    <p>As for the
                    <var>width</var>
                    field, the
                    <var>precision</var>
                    field may be indicated by an asterisk (*). The meaning is the
                    same as in the width field above.</p>
                </ul>
                <a name="Argument Size"></a>
                <h4 class="sol">Argument Size</h4>
                <ul>
                    <p>An optional
                    <tt>h</tt>
                    ,
                    <tt>l</tt>
                    (ell),
                    <tt>q</tt>
                    , or
                    <tt>ll</tt>
                    (ell ell) specifies the expected size
                    of the actual argument for the
                    <tt>d</tt>
                    ,
                    <tt>i</tt>
                    ,
                    <tt>o</tt>
                    ,
                    <tt>u</tt>
                    ,
                    <tt>x</tt>
                    or
                    <tt>X</tt>
                    conversion codes. Ignored if specified before any other conversion code.</p>
                    <p>Their meanings are:</p>
                    <p>
                    </p>
                    <dl><dt>
                    <tt>h</tt>
                    </dt><dd>
                    <p>The argument is a short integer.</p>
                    </dd><dt>
                    <tt>l</tt>
                    </dt><dd>
                    <p>The argument
                    is a long integer.</p>
                    </dd><dt>
                    <tt>q</tt>
                    </dt><dd>
                    <p>The argument
                    is a quad integer.</p>
                    </dd><dt>
                    <tt>ll</tt>
                    </dt><dd>
                    <p>The argument
                    is a long long integer.</p>
                    </dd></dl>
                    <p>An optional
                    <tt>l</tt>
                    (ell), or
                    <tt>L</tt>
                    specifies
                    the expected size  of the actual argument for the
                    <tt>e</tt>
                    ,
                    <tt>f</tt>
                    , or
                    <tt>g</tt>
                    conversion codes.</p>
                    <p>They are ignored if specified before any other conversion code.</p>
                    <p>Their meanings are:</p>
                    <p>
                    </p>
                    <dl><dt>
                    <tt>l</tt>
                    </dt><dd>
                    <p>The argument is a double.</p>
                    </dd><dt>
                    <tt>L</tt>
                    </dt><dd>
                    <p>   The argument
                    is a long double.</p>
                    </dd></dl></ul>
                    <a name="Conversion Codes"></a>
                    <h4 class="sol">Conversion Codes</h4>
                    <ul>
                        <p>The conversion characters and their meanings are:</p>
                        <p>
                        </p>
                        <dl><dt>
                        <tt>d</tt>
                        ,
                        <tt>i</tt>
                        ,
                        <tt>o</tt>
                        ,
                        <tt>u</tt>
                        ,
                        <tt>x</tt>
                        ,
                        <tt>X</tt>
                        </dt><dd>
                        <p>The integer
                        <var>arg</var>
                        is
                        converted to signed decimal (
                        <tt>d</tt>
                        or i
                        <tt>),</tt>
                        unsigned octal (
                        <tt>o</tt>
                        ), decimal (
                        <tt>u</tt>
                        ), or
                        hexadecimal notation (
                        <tt>x</tt>
                        and
                        <tt>X</tt>
                        ), respectively.
                        The letters
                        <tt>abcdef</tt>
                        are used for
                        <tt>x</tt>
                        conversion
                        and the letters
                        <tt>ABCDEF</tt>
                        for
                        <tt>X</tt>
                        conversion. The precision specifies the minimum number of digits
                        to appear; if the value being converted can be represented in fewer digits,
                        it will be expanded with leading zeroes. (For compatibility with older versions,
                        padding with leading zeroes may alternatively be specified by prepending a
                        zero to the field width. This does not imply an octal value for the field
                        width.) The default precision is 1. The result of converting a zero value
                        with a precision of zero is a null string.</p>
                        </dd><dt>
                        <tt>D,O,U</tt>
                        </dt><dd>
                        <p>These notations
                        are  semantically  equivalent  to, respectively,
                        <tt>ld</tt>
                        ,
                        <tt>lo</tt>
                        ,
                        <tt>lu</tt>
                        .</p>
                        </dd><dt>
                        <tt>n</tt>
                        </dt><dd>
                        <p>The arg should
                        be a pointer  to  an  integer  into which is written the number  of  bytes
                        written  to  the standard output I/O stream so far by this call. No argument
                        is converted.</p>
                        </dd><dt>
                        <tt>p</tt>
                        </dt><dd>
                        <p>The arg should
                        be a pointer to void. The value  of the pointer is converted to  a  set  of
                        sequences  of printable characters.</p>
                        </dd><dt>
                        <tt>f</tt>
                        </dt><dd>
                        <p>The float
                        or double
                        <var>arg</var>
                        is converted to decimal notation in the
                        style ``[
                        <tt>-</tt>
                        ]ddd
                        <tt>.</tt>
                        ddd,'' where the
                        number of digits after the decimal point is equal to the precision specification.
                        If the precision is not specified, six digits are output; if the precision
                        is explicitly 0, no decimal point appears.</p>
                        </dd><dt>
                        <tt>e</tt>
                        ,
                        <tt>E</tt>
                        </dt><dd>
                        <p>The float or double
                        <var>arg</var>
                        is converted in the style
                        ``[
                        <tt>-</tt>
                        ]d
                        <tt>.</tt>
                        ddd
                        <tt>e+-</tt>
                        dd,''
                        where there is one digit before the decimal point and the number of digits
                        after it is equal to the precision. If  the precision is not specified, six
                        digits are produced; if the precision is explicitly 0, no decimal point appears.
                        The
                        <tt>E</tt>
                        format code will produce a number with
                        <tt>E</tt>
                        instead of
                        <tt>e</tt>
                        introducing the exponent. The
                        exponent always contains at least two digits.</p>
                        </dd><dt>
                        <tt>g</tt>
                        ,
                        <tt>G</tt>
                        </dt><dd>
                        <p>The float or double
                        <var>arg</var>
                        is printed in style
                        <tt>f</tt>
                        or
                        <tt>e</tt>
                        (or in style
                        <tt>E</tt>
                        in the
                        case of a
                        <tt>G</tt>
                        format code), with the precision specifying
                        the number of significant digits. The style used depends on the value converted:
                        style
                        <tt>e</tt>
                        will be used only if the exponent resulting from
                        the conversion is less than -4 or greater than the precision. Trailing
                        zeroes are removed from the result; a decimal point appears only if it is
                        followed by a digit.</p>
                        </dd><dt>
                        <tt>c</tt>
                        </dt><dd>
                        <p>The character
                        <var>arg</var>
                        is printed.</p>
                        </dd><dt>
                        <tt>s</tt>
                        </dt><dd>
                        <p>The
                        <var>arg</var>
                        is taken to be a string (character pointer) and characters
                        from the string are printed until a null character (
                        <tt>\\0</tt>
                        )
                        is encountered, or until the number of characters indicated by the precision
                        specification is reached. If the precision is not specified, it is assumed
                        to be infinite and all characters up to the first null character are printed.
                        A
                        <tt>NULL</tt>
                        value for
                        <var>arg</var>
                        will yield
                        undefined results.</p>
                        </dd><dt>
                        <tt>%</tt>
                        </dt><dd>
                        <p>Print a
                        <tt>%</tt>
                        ; no argument is converted.</p>
                        </dd></dl>
                        <p>A non-existent or small field width will never cause truncation of a
                        field; if the result of a conversion is wider than the field width, the field
                        is simply expanded to contain the conversion result. Characters generated
                        by
                        <kbd><strong>printf()</strong></kbd>
                        are printed in the same way as if
                        <kbd>putchar</kbd>
                        (3STDC) had been called.</p>
                        <p>Each conversion specification is introduced by the character
                        <tt>%</tt>
                        . After the
                        <tt>%</tt>
                        , the following appear in sequence:</p>
                        <ul>
                            <li>
                            <p>Zero or more
                            <var>flags</var>
                            , which modify the
                            meaning of the conversion specification.</p>
                            </li>
                            <li>
                            <p>An optional decimal digit string specifying a minimum
                            <var>field width</var>
                            . If the converted value has fewer characters than
                            the field width, it will be padded on the left (or right, if the left-adjustment
                            flag `
                            <var>&amp;ndash</var>
                            ;', described below, has been set)
                            to the field width. If the field width for an s conversion is preceded by
                            a 0, the string is right-adjusted with zero-padding on the left.</p>
                            </li>
                            <li>
                            <p>An optional
                            <tt>l</tt>
                            (ell) specifying that a following
                            <tt>d</tt>
                            ,
                            <tt>o</tt>
                            ,
                            <tt>u</tt>
                            ,
                            <tt>x</tt>
                            ,
                            or
                            <tt>X</tt>
                            conversion character applies to a long integer
                            <var>arg</var>
                            . An
                            <tt>l</tt>
                            before any other conversion character
                            is ignored.</p>
                            </li>
                            <li>
                            <p>A character that indicates the type of conversion to be applied.</p>
                            </li>
                        </ul>
                    </ul>
                </ul>
                <a name="EXAMPLES"></a>
                <h4 class="sol">EXAMPLES</h4>
                <ul>
                    <p>To print a date and time in the form ``Sunday, July 3, 10:02,'' where
                    <var>weekday</var>
                    and
                    <var>month</var>
                    are pointers to null-terminated
                    strings:</p>
                    <p>
                    </p>
                    <table border="1" cellpadding="1" width="100%">
                        <tbody>
                            <tr>
                                <td nowrap="1">
                                <br>
                                <pre><samp>printf("%s, %s %d, %d<tt>:</tt>%<tt>.</tt>2d", weekday, month, day, hour, min);</samp>
                                </pre>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </ul>
                <a name="ATTRIBUTES"></a>
                <h4 class="sol">ATTRIBUTES</h4>
                <ul>
                    <p>See
                    <strong>attributes(5)</strong>
                    for descriptions of the following attributes:</p>
                    <table border="1" cellpadding="10" cellspacing="0" width="100%">
                        <thead>
                            <tr>
                                <th scope="col" align="center" valign="top">ATTRIBUTE TYPE</th><th scope="col" align="center" valign="top">ATTRIBUTE VALUE</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" valign="top">Interface Stability</td>
                                <td align="left" valign="top">Evolving</td>
                            </tr>
                        </tbody>
                    </table>
                    <p>
                    </p>
                    <p>
                    </p>
                </ul>
                <a name="SEE ALSO"></a><img src ="http://www.cnitblog.com/cockerel/aggbug/37435.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-12-07 01:10 <a href="http://www.cnitblog.com/cockerel/archive/2007/12/07/37435.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C风格输入格式化字符串语法[转]</title><link>http://www.cnitblog.com/cockerel/archive/2007/12/07/37434.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Thu, 06 Dec 2007 17:05:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/12/07/37434.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/37434.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/12/07/37434.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/37434.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/37434.html</trackback:ping><description><![CDATA[<h4 class="sol">按：寻寻觅觅了许久，终于找到了一个比较详细的版本，来源是sun公司的文档，应该都比较权威。原文见<a  href="http://docs.sun.com/app/docs/doc/806-7023/6jfu564ls?l=zh_TW&amp;a=view">http://docs.sun.com/app/docs/doc/806-7023/6jfu564ls?l=zh_TW&amp;a=view</a></h4>
<br><br>
<h4 class="sol">NAME</h4>
<ul>scanf, sscanf- convert formatted input</ul>
    <a name="SYNOPSIS"></a>
    <h4 class="sol">SYNOPSIS</h4>
    <ul>
        <p>
        </p>
        <pre>$(NUCLEUS_DIR)/lib/embedded/libebd.s.a<br>#include &lt;stdio.h&gt;</pre>
        int
        scanf(const char *
        <var>format</var>, ... );<br>
        int
        sscanf(const char *
        <var>s</var>, const char *
        <var>format</var>, ... );<br></ul>
        <a name="API RESTRICTIONS"></a>
        <h4 class="sol">API RESTRICTIONS</h4>
        <ul>
            <p>The function or functions documented here may not be used safely in
            all application contexts with all APIs provided in the ChorusOS 5.0
            product.</p>
            <p>See
            <a href="http://docs.sun.com/app/docs/doc/816-0349/6m6rfpka9?l=zh_TW&amp;a=view">API(5FEA)</a>
            for details.</p>
        </ul>
        <a name="DESCRIPTION"></a>
        <h4 class="sol">DESCRIPTION</h4>
        <ul>
            <p>The
            <kbd><strong>scanf()</strong></kbd>
            function reads from the standard input
            channel, which is operating system dependent. The
            <kbd><strong>sscanf()</strong></kbd>
            function reads from the character string
            <var>s</var>
            . Each function
            reads characters, interprets them according to a format, and stores the results
            in its arguments. The functions require, as arguments, a control string
            <var>format</var>
            described below, and a set of pointer arguments indicating
            where the converted input should be stored.</p>
            <p>The control string usually contains conversion specifications, which
            are used to direct interpretation of input sequences. The control string may
            contain:</p>
            <p>
            </p>
            <ol type="1">
                <li>
                <p>White-space characters (blanks, tabs, new-lines, or form-feeds)
                which, except in two cases described below, cause input to be read up to the
                next non-white-space character.</p>
                </li>
                <li>
                <p>An ordinary character (not
                <tt>%</tt>
                ), which must
                match the next character of the input channel.</p>
                </li>
                <li>
                <p>Conversion specifications, consisting of the character
                <tt>%</tt>
                , an optional assignment suppression character
                <tt>*</tt>
                ,
                an optional numerical maximum field width, an optional
                <tt>l</tt>
                (ell) or
                <tt>h</tt>
                indicating the size of the receiving variable,
                and a conversion code.</p>
                </li>
            </ol>
            <p>The format of the conversion specification has  the  general form:</p>
            <p>
            </p>
            <pre>%[*] [width] [{h | l | ll | q | L}]conversion_code</pre>
            <p>A conversion specification directs the conversion of the next input
            field; the result is placed in the variable pointed to by the corresponding
            argument, unless assignment suppression was indicated using
            <tt>*</tt>
            .
            The suppression of assignment allows you to define an input field to be ignored.
            An input field is defined as a string of non-space characters; it extends
            to the next inappropriate character or until the field width, if specified,
            is exhausted. For all descriptors except ``['' and ``c'', white space leading
            an input field is ignored.</p>
            <a name="Argument Size"></a>
            <h4 class="sol">Argument Size</h4>
            <ul>
                <p>An optional
                <tt>h</tt>
                ,
                <tt>l</tt>
                (ell),
                <tt>q</tt>
                , and
                <tt>ll</tt>
                (ell ell) specifies the expected size
                of the actual argument for the
                <tt>d</tt>
                ,
                <tt>i</tt>
                ,
                <tt>o</tt>
                ,
                <tt>u</tt>
                , or
                <tt>x</tt>
                conversion
                codes. They are ignored if specified before  any  other conversion code.</p>
                <p>Their meanings are:</p>
                <p>
                </p>
                <dl><dt>
                <tt>h</tt>
                </dt><dd>
                <p>The argument is a pointer to a short integer.</p>
                </dd><dt>
                <tt>l</tt>
                </dt><dd>
                <p>The argument
                is a pointer to a long integer.</p>
                </dd><dt>
                <tt>q</tt>
                </dt><dd>
                <p>The argument
                is a pointer to a quad integer.</p>
                </dd><dt>
                <tt>ll</tt>
                </dt><dd>
                <p>The argument
                is a pointer to a long long integer.</p>
                </dd></dl>
                <p>An optional
                <tt>l</tt>
                (ell), or
                <tt>L</tt>
                specifies
                the expected size  of  the actual argument for  the
                <tt>e</tt>
                ,
                <tt>f</tt>
                ,  or
                <tt>g</tt>
                conversion  codes.</p>
                <p>They are ignored if specified before any other conversion code.</p>
                <p>Their meanings are:</p>
                <p>
                </p>
                <dl><dt>
                <tt>l</tt>
                </dt><dd>
                <p>The argument is a pointer to a double.</p>
                </dd><dt>
                <tt>L</tt>
                </dt><dd>
                <p>The argument
                is a pointer to a long double.</p>
                </dd></dl></ul>
                <a name="Conversion Codes"></a>
                <h4 class="sol">Conversion Codes</h4>
                <ul>
                    <p>The conversion code indicates the interpretation of the input field;
                    the corresponding pointer argument must be of a restricted type. For a suppressed
                    field, no pointer argument is given. The following conversion codes are legal:</p>
                    <p>
                    </p>
                    <dl><dt>
                    <tt>%</tt>
                    </dt><dd>
                    <p>A single
                    <tt>%</tt>
                    is expected in the input
                    at this point; no assignment is performed.</p>
                    </dd><dt>
                    <tt>d</tt>
                    </dt><dd>
                    <p>A decimal
                    integer is expected; the corresponding argument should be an integer pointer.</p>
                    </dd><dt>
                    <tt>u</tt>
                    </dt><dd>
                    <p>An unsigned
                    decimal integer is expected; the corresponding argument should be an unsigned
                    integer pointer.</p>
                    </dd><dt>
                    <tt>o</tt>
                    </dt><dd>
                    <p>An octal integer
                    is expected; the corresponding argument should be an integer pointer.</p>
                    </dd><dt>
                    <tt>x</tt>
                    </dt><dd>
                    <p>A hexadecimal
                    integer is expected; the corresponding argument should be an integer pointer.</p>
                    </dd><dt>
                    <tt>p</tt>
                    </dt><dd>
                    <p>Same as the
                    <tt>x</tt>
                    conversion code, except that the corresponding argument must
                    be  a  pointer  to  a pointer to be voided.</p>
                    </dd><dt>
                    <tt>i</tt>
                    </dt><dd>
                    <p>An integer
                    is expected; the corresponding argument should be an integer pointer. It will
                    store the value of the next input item interpreted according to C conventions:
                    a leading "0" implies octal; a leading "0x" implies hexadecimal; otherwise,
                    decimal.</p>
                    </dd><dt>
                    <tt>n</tt>
                    </dt><dd>
                    <p>Stores into
                    an integer (whose address is specified in the argument) the total number of
                    characters (including white space) that have been scanned since the function
                    call. No input is consumed.</p>
                    </dd><dt>
                    <tt>e</tt>
                    ,
                    <tt>f</tt>
                    ,
                    <tt>g</tt>
                    </dt><dd>
                    <p>A floating point number is expected; the next field is converted
                    accordingly and stored through the corresponding argument, which should be
                    a pointer to a
                    <var>float</var>
                    . The input format for floating
                    point numbers is an optionally signed string of digits, possibly containing
                    a decimal point, followed by an optional exponent field consisting of an
                    <tt>E</tt>
                    or an
                    <tt>e</tt>
                    , followed by an optional +, -,
                    or space, followed by an integer.</p>
                    </dd><dt>
                    <tt>s</tt>
                    </dt><dd>
                    <p>A character
                    string is expected; the corresponding argument should be a character pointer
                    pointing to an array of characters large enough to accept the string and a
                    terminating
                    <tt>\\0</tt>
                    , which will be added automatically. The
                    input field is terminated by a white-space character.</p>
                    </dd><dt>
                    <tt>c</tt>
                    </dt><dd>
                    <p>A character
                    is expected; the corresponding argument should be a character pointer. The
                    usual skipping over white space is suppressed in this case; to read the next
                    non-space character, use
                    <tt>%1s</tt>
                    . If a field width is given,
                    the corresponding argument should refer to a character array; the number of
                    characters indicated is read.</p>
                    </dd><dt>
                    <tt>D,O,X,E,F</tt>
                    </dt><dd>
                    <p>Are
                    semantically equivalent to, respectively,
                    <tt>ld</tt>
                    ,
                    <tt>lo</tt>
                    ,
                    <tt>lx</tt>
                    ,
                    <tt>le</tt>
                    ,
                    <tt>lf</tt>
                    .</p>
                    </dd><dt>
                    <tt>[</tt>
                    </dt><dd>
                    <p>Indicates
                    string data and the usual skipping over leading white space is suppressed.
                    The left bracket is followed by a set of characters, called the
                    <var>scanset</var>
                    , and a right bracket; the input field is the maximaum
                    sequence of input characters consisting entirely of characters in the scanset.
                    The circumflex (
                    <tt>^</tt>
                    ), when it appears
                    as the first character in the scanset, serves as a complement operator and
                    redefines the scanset as the set of all characters not contained in the remainder
                    of the scanset string. There are certain conventions used in the construction
                    of the scanset. A range of characters may be represented by the construct
                    <var>first-last</var>
                    , thus [0123456789] may be expressed [0-9].
                    Using this convention,
                    <var>first</var>
                    must be lexically
                    less than or equal to
                    <kbd>last</kbd>
                    , otherwise the dash will stand
                    for itself.  The dash will also stand for itself whenever it is the first
                    or the last character in the scanset. To include the right square bracket
                    as an element of the scanset, it must appear as the first character (possibly
                    preceded by a circumflex) of the scanset, and in this case it will not be
                    syntactically interpreted as the closing bracket. The corresponding argument
                    must point to a character array large enough to hold the data field and the
                    terminating
                    <tt>\\0</tt>
                    , which will be added automatically. At least
                    one character must match for this conversion to be considered successful.</p>
                    </dd></dl>
                    <p>The
                    <kbd><strong>scanf()</strong></kbd>
                    conversion terminates at
                    EOF,
                    at the end of the control string, or when an input character
                    conflicts with the control string. In the latter case, the offending character
                    is left unread in the input channel.</p>
                    <p>Reaching the end of the character string
                    <tt>s</tt>
                    for
                    <kbd><strong>sscanf()</strong></kbd>
                    is equivalent to encountering
                    EOF
                    for
                    <kbd><strong>scanf()</strong></kbd>
                    .</p>
                    <p>The
                    <kbd><strong>scanf()</strong></kbd>
                    function returns the number of successfully
                    matched and assigned input items; this number can be zero in the event of
                    an early conflict between an input character and the control string. If the
                    input ends before the first conflict or conversion,
                    EOF
                    is returned.</p>
                </ul>
            </ul>
            <a name="EXAMPLES"></a>
            <h4 class="sol">EXAMPLES</h4>
            <ul>
                <p>The call:</p>
                <p>
                </p>
                <table border="1" cellpadding="1" width="100%">
                    <tbody>
                        <tr>
                            <td nowrap="1">
                            <br>
                            <pre><samp>int i, n; float x; char name[50];<br>n = scanf("%d%f%s", &amp;i, &amp;x, name);</samp>
                            </pre>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <p>with the input line:</p>
                <p>
                </p>
                <table border="1" cellpadding="1" width="100%">
                    <tbody>
                        <tr>
                            <td nowrap="1">
                            <br>
                            <pre><samp>25 54.32E-1 thompson</samp>
                            </pre>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <p>will assign to
                <var>n</var>
                the value
                <var>3</var>
                ,
                to
                <var>i</var>
                the value
                <tt>25</tt>
                , to
                <var>x</var>
                the value
                <tt>5.432</tt>
                , and
                <var>name</var>
                will contain
                <tt>thompson\\0</tt>
                .</p>
                <p>Or:</p>
                <p>
                </p>
                <table border="1" cellpadding="1" width="100%">
                    <tbody>
                        <tr>
                            <td nowrap="1">
                            <br>
                            <pre><samp>int i; float x; char name[50];<br>(void) scanf("%2d%f%*d %[0-9]", &amp;i, &amp;x, name);</samp>
                            </pre>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <p>with input:</p>
                <p>
                </p>
                <table border="1" cellpadding="1" width="100%">
                    <tbody>
                        <tr>
                            <td nowrap="1">
                            <br>
                            <pre><samp>56789 0123 56a72</samp>
                            </pre>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <p>will assign
                <tt>56</tt>
                to
                <var>i</var>
                ,
                <tt>789.0</tt>
                to
                <var>x</var>
                , skip
                <tt>0123</tt>
                ,
                and place the string
                <tt>56\\0</tt>
                in
                <var>name</var>
                .
                The next call to
                <kbd>getchar</kbd>
                (3STDC) will return
                <tt>a</tt>
                .</p>
            </ul>
            <a name="NOTE"></a>
            <h4 class="sol">NOTE</h4>
            <ul>
                <p>Trailing white space (including a new-line) is left unread unless matched
                in the control string.</p>
            </ul>
            <a name="DIAGNOSTICS"></a>
            <h4 class="sol">DIAGNOSTICS</h4>
            <ul>
                <p>These functions return
                EOF
                on end of
                input and a short count for missing or illegal data items.</p>
            </ul>
            <a name="ATTRIBUTES"></a>
            <h4 class="sol">ATTRIBUTES</h4>
            <ul>
                <p>See
                <strong>attributes(5)</strong>
                for descriptions of the following attributes:</p>
                <table border="1" cellpadding="10" cellspacing="0" width="100%">
                    <thead>
                        <tr>
                            <th scope="col" align="center" valign="top">ATTRIBUTE TYPE</th><th scope="col" align="center" valign="top">ATTRIBUTE VALUE</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" valign="top">Interface Stability</td>
                            <td align="left" valign="top">Evolving</td>
                        </tr>
                    </tbody>
                </table>
                <p>
                </p>
                <p>
                </p>
            </ul>
            <a name="SEE ALSO"></a><img src ="http://www.cnitblog.com/cockerel/aggbug/37434.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-12-07 01:05 <a href="http://www.cnitblog.com/cockerel/archive/2007/12/07/37434.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>.NET 类库文档（MSDN）目录</title><link>http://www.cnitblog.com/cockerel/archive/2007/05/04/26627.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Fri, 04 May 2007 15:11:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/05/04/26627.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/26627.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/05/04/26627.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/26627.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/26627.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: .NET Framework 类库是一个由 Microsoft .NET Framework SDK 中包含的类、接口和值类型组成的库。该库提供对系统功能的访问，是建立 .NET Framework 应用程序、组件和控件的基础。 &nbsp;namespace目录Code highlighting produced by Actipro CodeHighlighter (freeware)...&nbsp;&nbsp;<a href='http://www.cnitblog.com/cockerel/archive/2007/05/04/26627.html'>阅读全文</a><img src ="http://www.cnitblog.com/cockerel/aggbug/26627.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-05-04 23:11 <a href="http://www.cnitblog.com/cockerel/archive/2007/05/04/26627.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>网上在线字典辞典大全 </title><link>http://www.cnitblog.com/cockerel/archive/2006/12/18/20747.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 18 Dec 2006 08:58:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/12/18/20747.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/20747.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/12/18/20747.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/20747.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/20747.html</trackback:ping><description><![CDATA[
		<div class="main main_text">
				<!-- InstanceBeginEditable name="内容" -->
				<base target="_blank" />
				<table>
						<tbody>
								<tr>
										<th>
												<font color="#0000ff">
														<big>翻译类字典辞典</big>
												</font>
										</th>
								</tr>
								<tr>
										<td>
												<span class="red">
														<strong>
																<font color="#ff0000">英汉类字典辞典</font>
														</strong>
												</span>
										</td>
								</tr>
								<tr>
										<td width="750" height="17">
												<a href="http://cp.iciba.com/">金山词霸2006在线版</a> —— 国人自主开发的最权威的电子词典，免费在线词典，查词翻译_英汉_日汉_英语_成语</td>
								</tr>
								<tr>
										<td align="left" width="750">
												<a href="http://www.baidu.com/search/dict.html">百度词典搜索</a> —— 百度词典搜索支持强大的英汉互译功能,中文成语的智能翻译</td>
								</tr>
								<tr>
										<td>
												<a href="http://dict.cn/">Dict_CN 在线词典</a> —— 在线搜索不重复汉英词条100万，英汉词条103万。 </td>
								</tr>
								<tr>
										<td>
												<a href="http://hk.dictionary.yahoo.com/">Yahoo!字典(雅虎香港)</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://tw.dictionary.yahoo.com/">Yahoo!奇摩字典(台湾)</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://bbs.nuc.edu.cn/cgi-bin/oxdict.pl">牛津英汉双解词典</a>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://www.onlinedict.com/">顏氏美語(繁体)</a> —— 颜元叔教授主编-网路英英/英汉辞典</td>
								</tr>
								<tr>
										<td align="left"> </td>
								</tr>
								<tr>
										<td align="left">
												<a href="http://www.chinatranslation.net/">中国专家翻译网</a>—— 英文翻译公司--日文翻译公司--多语种翻译公司- 英语、日语、德语、法语翻译</td>
								</tr>
								<tr>
										<td align="left">
												<a href="http://www.chinafanyi.com/">http://www.c<font color="#000000">hina</font><font color="#333333">fanyi.com/</font></a>
												<font color="#0000ff"> —— 线上最庞大的英汉-汉英翻译语料库</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.66133.com/fanyi/">『中国百帆』智能在线翻译系统</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.netat.net/">
														<font color="#000000">金桥翻译中心 _WWW_NETAT_NET</font>
												</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.worldlingo.com/en/websites/url_translator.html">
														<strong>
																<font color="#ff0000">Free Website Translator</font>
														</strong>
												</a>
												<font color="#0000ff"> - Online Website Translation 网页翻译</font>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">汉英类字典辞典</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.imagecode.net/">在线汉英双解新华字典</a> —— 在页面左下方，可进行字典、词典、成语查询</td>
								</tr>
								<tr>
										<td>
												<a href="http://humanum.arts.cuhk.edu.hk/Lexis/Lindict/">林语堂当代汉英词典(繁)</a>
												<font face="宋体" color="#0000ff">
														<u> —— 较权威的在线汉英词典，繁体，备有汉字部首索引和汉语拼音检索功能</u>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://dictionary.chinesewings.com/">
														<font face="宋体" color="#000000">华翼翻译-多语种在线电脑字典</font>
												</a>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://sunrain.net/index_c.shtml" target="_blank">
														<font face="宋体" color="#800080">太阳雨英汉\汉英词典</font>
												</a>
												<font face="宋体"> 汉语输入方式：拼音、简体繁体 </font>
										</td>
								</tr>
								<tr>
										<td height="0">
												<font face="宋体">
														<a href="http://www.hongen.com/eng/study/exam/index1.htm">洪恩双语词典</a>
														<font color="#0000ff"> 中英文查询，提供词义、例句、词组、同义词、反义词 </font>
												</font>
										</td>
								</tr>
								<tr>
										<td class="red">英文类字典辞典</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.webster.com/">韦氏英语辞典</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.freesearch.co.uk/dictionary">
														<font color="#000080">English Dictionary from freesearch_co_uk</font>
												</a> —— 例句不错</td>
								</tr>
								<tr>
										<td width="750">
												<font color="#000080">
														<a href="http://dict.leo.org/" target="_blank">LEO English-German Dictionary</a>
												</font>
												<font color="#000000">
												</font>
												<font color="#0000ff">
														<u>—— 英文、德文互译在线词典，英文界面</u>
												</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.wordsmyth.net/">
														<font color="#000080">Wordsmyth</font>
												</a> —— 美国英语，有难易之分 </td>
								</tr>
								<tr>
										<td width="750">
												<font color="#000080">
														<a href="http://humanum.arts.cuhk.edu.hk/Lexis/Latin/">Latin-English Dictionary</a>
												</font>
												<font color="#000000">
												</font>
												<font color="#0000ff">
														<u>—— 在线拉丁语和英语词典，历史较久，英文界面</u>
												</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.m-w.com/netdict.htm">
														<font color="#000080">Webster's Collegiate Dictionary</font>
												</a> —— 著名的韦氏大词典在线版，使用方便，英文词汇多</td>
								</tr>
								<tr>
										<td width="750">
												<font color="#000080">
														<a href="http://www.masterstech-home.com/ASLDict.html" target="_blank">American Sign Language Dictionary</a>
														<font color="#000000">—— 美国形体语言词典，独特的在线词典</font>
												</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<font color="#000080">
														<a href="http://dictionary.reference.com/">Dictionary.com</a>
														<font color="#000000">—— 查询、互译、流行词汇、站点导航，英文</font>
												</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<font color="#000080">
														<a href="http://www.thesaurus.com/">
																<font face="Arial">Thesaurus.com</font>
														</a>
												</font>
												<font color="#000000">
														<font face="宋体">
														</font>
												</font>
												<font face="Arial" color="#0000ff">
														<u>—— 英语同义词字典，英文</u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://dict.leo.org/" target="_blank">
														<font face="宋体" color="#000000">LEO English-German Dictionary</font>
												</a>
												<font face="Arial" color="#0000ff">
														<u> 英文、德文互译在线词典，英文界面 </u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://www.onelook.com/" target="_blank">
														<font face="宋体" color="#000000">Onelook Dictionary </font>
												</a>
												<font face="Arial" color="#0000ff">
														<u>英语、法语、德语、意大利语五种语言629本词典的在线检索，权威，英文 </u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://humanum.arts.cuhk.edu.hk/Lexis/Latin/">
														<font face="宋体" color="#000000">Latin-English Dictionary</font>
												</a>
												<font face="Arial" color="#0000ff">
														<u> 在线拉丁语和英语词典，历史较久，英文界面  </u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://dictionaries.travlang.com/" target="_blank">
														<font face="宋体" color="#000000">Travlang's Translating Dictionaries</font>
												</a>
												<font face="Arial" color="#0000ff">
														<u> 欧洲主要语言互译，很多链接资源，英文 </u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://www.masterstech-home.com/ASLDict.html" target="_blank">
														<font face="宋体" color="#000000">American Sign Language Dictionary</font>
												</a>
												<font face="宋体" color="#0000ff">
														<u> 美国形体语言词典，独特的在线词典  </u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="宋体" color="#000000">
														<a href="http://www.oed.com/" target="_blank">Oxford English Dictionary </a>
												</font>
												<font face="Arial" color="#0000ff">
														<u>牛津英语大词典在线版，须注册才能使用，英文 </u>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="宋体">
														<a href="http://dictionary.cambridge.org/">
																<font color="#000000">剑桥在线辞典</font>
														</a>
														<font color="#0000ff">
																<u> —— 包括剑桥国际英语辞典、美国英语辞典、国际短语辞典及国际习语辞典，英文 </u>
														</font>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="Arial" color="#000000">
														<a href="http://www.thesaurus.com/" target="_blank">Thesaurus.com</a>
												</font>
												<font face="宋体" color="#ff0000">
														<strong> 英语同义词字典，英文 </strong>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://www.synonym.com/synonym/">
														<font face="宋体">ANTONYM Finder and SYNONYM Thesaurus</font>
												</a>
												<font face="宋体"> —— 同义词反义词词典</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<span class="red">
														<font face="宋体">
																<u>
																		<font color="#0000ff">其他语言类字典</font>
																</u>辞典</font>
												</span>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://balder.prohosting.com/~zidian/dictionary/index.shtml" target="_blank">
														<font face="宋体">德汉字典网</font>
												</a>
												<font face="宋体">
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="宋体">
														<a href="http://www.chinesewings.com/nl/computer/" target="_blank">华翼电脑字典</a> —— 荷兰语、中文、英语、法语、 ... </font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://findgo.net/cn/dictionary.htm">
														<font face="Arial" color="#000000">线索中国</font>
												</a>
												<font face="宋体"> - 网上字典</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://diction.amasoft.com.tw/" target="_blank">
														<font face="宋体">承隆科技</font>
												</a>
												<font face="Arial">
														<font color="#0000ff">
																<u>  </u>
														</font>
												</font>
												<font face="宋体">Amasoft<font color="#0000ff"><u> 線上、離線英漢翻譯軟體，英漢/漢英字典  </u></font></font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="宋体" color="#000000">
														<a href="http://www.onlinedict.com/" target="_blank">颜元叔教授主编-网路英英/英汉辞典</a>
												</font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="Arial">
														<a href="http://www.dictionaryhk.com/" target="_blank">DictionaryHK.com</a>
												</font>
												<font face="宋体" color="#000080"> 提供英文对英文、中文和日文的翻译。 </font>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="宋体">
														<a href="http://www.elijiang.com/glyph/glyph.asp" target="_blank">
																<font color="#000000">纳西东巴象形文字纳汉在线字典</font>
														</a>
														<font color="#0000ff"> - 提供汉字与东巴象形文字在线翻译工具。  </font>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<font color="#000080">
														<a href="http://www.yourdictionary.com/">
																<font color="#000080">YourDictionary.com</font>
														</a>
												</font>
												<font color="#000000"> —— 几十个语种和数百本词典的在线检索，最权威的在线词典门户之一，英文界面</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://fawen.cn/">法汉汉法词典</a>
												<font color="#0000ff" size="4">—— </font>
												<strong>
														<font color="#ff0000">法语 汉语 在线 词典</font>
												</strong>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.chino-china.com/diccionario">西班牙语汉语</a>
										</td>
								</tr>
								<tr>
										<td>
												<a id="hanyu" name="hanyu">
												</a> </td>
								</tr>
								<tr>
										<th>
												<font color="#0000ff" size="3">
														<big>
																<u>汉语类字典辞典</u>
														</big>
												</font>
										</th>
								</tr>
								<tr>
										<td>
												<span class="red">解字类字典辞典</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.cshu.org/">C书词典</a>
												<u>
														<font color="#0000ff">—— 在线汉语词汇收录，50多万词汇</font>
												</u>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.ourdict.cn/">中华在线词典</a> —— 12部在线汉语词典免费使用</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.zdic.net/">在线汉语字典</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://search.donews.com/poem">
														<font color="#000000">引经据典</font>
												</a>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.zhongwen.com/" target="_blank">
														<strong>
																<font color="#ff0000">中文字谱</font>
														</strong>
												</a>
												<font color="#0000ff"> —— 为学汉语的外国人所设,有英汉对照分析汉字的由来、汉字发音、象形文字、英汉索引</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://zhongwen.com/zi.htm">
														<font color="#000000">字典网 </font>
												</a>
												<font color="#0000ff">—— 国语辞典、台语辞典、中文字典、中文字谱、JDIC等</font>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">
														<font color="#0000ff">成语类字典辞典</font>
												</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.kingsnet.biz/asp/chengyu/">成语词典</a>
												<strong>
														<font color="#ff0000"> —— 金石网</font>
												</strong>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.imagecode.net/asp.net/idiom.aspx">在线成语大字典</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.21xht.com/chengyu/chengyu.asp">
														<font color="#000000">中华成语网上字典</font>
												</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://tool.cidu.net/chengyu/chengyu.asp">瓷都成语知识系统</a>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">诗词类字典辞典</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.fzepc.com/chinapoem/index.asp">
														<font face="Arial">中华诗词</font>
												</a>
												<font face="宋体"> —— 共收录了4577位诗词作家61981首作品</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.oligood.com/oldpeasant/web/index.htm">
														<font color="#000000">稻香居电脑作诗机网络版</font>
												</a> —— 包含电脑智能作诗（填词），电脑辅助作诗（填词），电脑诗词游戏三个部分</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<font face="Arial" size="4">
														<a href="http://www.arts.cuhk.edu.hk/Lexis/Canton" target="_blank">A Chinese-Cantonese Syllabary</a>
												</font>
												<font face="宋体" color="#ff0000">
														<strong> - 黄锡凌《粤音韵汇》 ... [ 繁体] </strong>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<font color="#0000ff">
														<u> </u>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<a name="zhuanye">
												</a>
												<font color="#0000ff">
														<u> </u>
												</font>
										</td>
								</tr>
								<tr>
										<th>
												<big>
														<font color="#0000ff" size="3">
																<u>专业类字典辞典</u>
														</font>
												</big>
										</th>
								</tr>
								<tr>
										<td>
												<span class="red">
														<u>
																<font color="#0000ff">缩写类字典辞典</font>
														</u>
												</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.wen8.net/tools/suoxie/index.htm">常用缩写</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.wen8.net/tools/suoxie/cpsuoxie.htm">
														<font color="#000000">电脑术语与缩写</font>
												</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.wen8.net/show.asp?id=416">
														<strong>
																<font color="#ff0000">世界各国和地区名称代码表(标准代码,国际域名缩写)</font>
														</strong>
												</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.wen8.net/tools/suoxie/hangyedm.htm">行业代码表</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.acronymfinder.com/">
														<font color="#000000">Acronym Finder</font>
												</a>
												<font color="#0000ff"> —— (英)收錄408,000縮寫頭字語款目，主題包括電腦、科技、電訊和軍事方面</font>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">百科类字典辞典</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.cshu.org/">
														<font color="#800080">C书百科</font>
												</a>—— 在线词汇自由收录，现有50多万词汇</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.britannica.com/">
														<font color="#800080">大英百科全书</font>
												</a> —— (英)著名的百科全书</td>
								</tr>
								<tr>
										<td>
												<a href="http://baike.baidu.com/">
														<strong>
																<font color="#ff0000">百度百科</font>
														</strong>
												</a>
												<font color="#0000ff"> —— 这是一部由全体网民共同撰写的百科全书。</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://zh.wikipedia.org/">
														<font color="#000000">维基百科</font>
												</a>
												<font color="#0000ff"> —— 维基百科，自由的百科全书</font>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">法律类字典辞典</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.lawtran.com/">尚华法律</a> —— 深圳律师咨询、聘请律师、深圳律师培训、律师邮局、律师建站</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.findlaw.com/">
														<strong>
																<font color="#ff0000">法律与经济学资料库</font>
														</strong>
												</a>
												<font color="#0000ff"> —— 综合性的经贸与法律大辞典，可按类别和题目搜索</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.duhaime.org/dictionary/">
														<font color="#000000">Duhaime's Law Dictionary</font>
												</a> —— （英）</td>
								</tr>
								<tr>
										<td>
												<span class="red">
														<font color="#0000ff">
																<u>金融类字典辞典</u>
														</font>
												</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.oasismanagement.com/glossary" target="_blank">
														<font color="#000000">巴克利金融术语汇编</font>
												</a>
												<font color="#0000ff">
														<u>—— 简单易学的金融术语辞典</u>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.county.com.au/dict.htm" target="_blank">
														<font color="#000000">金融专业术语大辞典</font>
												</a>
												<font color="#0000ff">
														<u>—— 有些词很难找，是不是，来我们这儿试试吧！</u>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.tdctrade.com/correspondence/dictionary/Content.htm" target="_blank">
														<font color="#000000">中國經貿新詞詞典</font>
												</a>
												<strong>
														<font color="#ff0000">—— 香港贸发局维护的经贸词典</font>
												</strong>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.traders.com/Documentation/RESource_docs/Glossary/glossary.html" target="_blank">交易商必备辞典</a>
												<font color="#000000">—— 完整地收集了交易中可能用到的各种专业术语</font>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">
														<font color="#0000ff">
																<u>医药类字典辞典</u>
														</font>
												</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.esaurus.org/" target="_blank">
														<strong>
																<font color="#ff0000">英汉医学词典</font>
														</strong>
												</a>
												<u>
														<font color="#0000ff"> —— 大型英汉医学词典</font>
												</u>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.yao85.com/wy/ypxx.htm" target="_blank">药品字典</a>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">
														<font face="Arial" color="#0000ff">
																<u>计算机类字典辞典</u>
														</font>
												</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://ihome.ust.hk/%7Elbsun/terms.html" target="_blank">
														<font face="宋体" color="#000000">英汉计算机及网络通讯技术词汇</font>
												</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.cnpedia.com/index2.htm">CNPedia 华文电脑百科</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.trendmicro.com/vinfo/zh-tw/">
														<font color="#000000">趨勢科技-病毒百科</font>
												</a>
										</td>
								</tr>
								<tr>
										<td bgcolor="#ffffff" height="0">
												<a href="http://search.lycos.com.cn/static.php?url=http://www.encyberpedia.com/glossary.htm" target="_blank">
														<font face="Arial">Encyberpedia Dictionary and Glossary</font>
												</a>
												<font face="宋体" color="#0000ff">
														<u> —— (英文)因特网上主要的字典和词汇一览表， </u>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://wombat.doc.ic.ac.uk/foldoc/contents.html" target="_blank">
														<strong>
																<font color="#ff0000">On-line Dictionary of Computing</font>
														</strong>
												</a>
												<font color="#0000ff">
														<u> —— 计算机专业词典，英文</u>
												</font>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www.computeruser.com/resources/dictionary/">
														<font color="#000000">ComputerUser_com High-Tech Dictionary</font>
												</a>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://whatis.techtarget.com/">Whatis_com, the leading IT encyclopedia and learning center</a>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">
														<strong>
																<font color="#ff0000">科技类字典辞典</font>
														</strong>
												</span>
										</td>
								</tr>
								<tr>
										<td>
												<a href="http://www3.zzu.edu.cn/zzjdict/">郑州大学在线英汉-汉英科技大词典</a> —— 本词典固定词库中现收录英汉科技词语750269条，汉英科技词语744542条</td>
								</tr>
								<tr>
										<td>
												<a href="http://techs-book.db66.com/">高技术辞典网</a>
										</td>
								</tr>
								<tr>
										<td>
												<span class="red">其他类字典辞典</span>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.cws.net.cn/flood/ChinaFlood.html" target="_blank">
														<font color="#000000">中国水灾年表</font>
												</a>
												<font color="#0000ff"> —— 中国历史各年水灾灾情、损失等介绍</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://ppathw3.cals.cornell.edu/Glossary/Glossary.htm">
														<font color="#000000">植物病理学在线术语汇编</font>
												</a>
												<font color="#0000ff">
												</font>[English] —— 详细的带有解说的大辞典，其中收集了植物病理学的专业术语及其发音</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://nr.stic.gov.tw/eDic/eDic_Query.htm" target="_blank">
														<font color="#000000">土木建筑电子词典</font>
												</a>
												<font color="#0000ff"> —— 台湾國科會科學技術資料中心國內資源組维护</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://main.pack.net.cn/dictionary/">包装词汇英汉对照</a>
												<font color="#0000ff">
														<u> —— </u>
												</font>
												<font color="#000000">有关包装词汇的英汉对照词库,约29000条 </font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.eetchina.com/EGLOSSARY/GLOSSARY_QUEST.HTM" target="_blank">英汉电子工程辞典</a>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.tibetinfor.com.cn/tibetce/frm.asp" target="_blank">
														<font color="#000000">宗教小词典</font>
												</a>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.tibetinfor.com.cn/ce/frm.asp" target="_blank">涉藏汉英词汇字典</a>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://us.imdb.com/Glossary/">
														<font color="#000000">Movie Terminology Glossary</font>
												</a>
												<font color="#0000ff"> —— 电影专业术语辞典</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.chemnet.com.cn/prodinfo.html" target="_blank">
														<font color="#000000">化工字典</font>
												</a> —— 现有词汇量 300,000 条 </td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.cnreagent.com/tools/namedb/index.php">化工字典 _ 中国试剂信息网</a>
												<font color="#000000">—— 现有词汇量351681条。其中包含CAS编号的有246435条</font>
												<font color="#0000ff">
														<u>
														</u>
												</font>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.texindex.com.cn/dictionary/dictionary.asp">
														<font color="#000000">纺织字典</font>
												</a>
												<u>
														<font color="#0000ff">—— 收录有关纺织方面的词汇量高达 ２，５０００ 多条</font>
												</u>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://cn.globaltexnet.com/resources/">纺织字典</a>
												<font color="#0000ff">
														<u>
														</u>
												</font>—— 共收录了30，000条与纺织有关的词汇</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.chinesecj.com/cj5gbdict/">
														<font color="#000000">第五代简体仓颉字典</font>
												</a>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.chinesecj.com/newdict/">繁体仓颉字典</a>
										</td>
								</tr>
								<tr>
										<td width="750">
												<a href="http://www.bengfa.com/Dict/index.asp">泵阀字典</a>
												<font color="#000000">—— 收录有关泵阀方面的词汇量高达 20,000 多条</font>
										</td>
								</tr>
						</tbody>
				</table>
		</div>
<img src ="http://www.cnitblog.com/cockerel/aggbug/20747.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-12-18 16:58 <a href="http://www.cnitblog.com/cockerel/archive/2006/12/18/20747.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>标程：经典图算法的测试程序</title><link>http://www.cnitblog.com/cockerel/archive/2006/07/07/13362.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Fri, 07 Jul 2006 09:53:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/07/07/13362.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/13362.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/07/07/13362.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/13362.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/13362.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1								#include				&lt;				cstdio				&gt;																		  2										#include				&lt;				iostream				&gt;																		  3										#include				&lt;...&nbsp;&nbsp;<a href='http://www.cnitblog.com/cockerel/archive/2006/07/07/13362.html'>阅读全文</a><img src ="http://www.cnitblog.com/cockerel/aggbug/13362.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-07-07 17:53 <a href="http://www.cnitblog.com/cockerel/archive/2006/07/07/13362.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>标程：经典图算法</title><link>http://www.cnitblog.com/cockerel/archive/2006/07/07/13361.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Fri, 07 Jul 2006 09:41:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/07/07/13361.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/13361.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/07/07/13361.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/13361.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/13361.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: #include				&lt;				cstring				&gt;																								//				常量定义：																								const				 				int				 maxV				=				100				;				const				 			...&nbsp;&nbsp;<a href='http://www.cnitblog.com/cockerel/archive/2006/07/07/13361.html'>阅读全文</a><img src ="http://www.cnitblog.com/cockerel/aggbug/13361.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-07-07 17:41 <a href="http://www.cnitblog.com/cockerel/archive/2006/07/07/13361.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>STL小结（原创）</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/14/12245.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Wed, 14 Jun 2006 05:57:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/14/12245.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12245.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/14/12245.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12245.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12245.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: STL												概述：								使用容器前增加				#pragma warning(disable: 4786) 				指令								字符串容器只储存指针，请另外用数组存放真正的串（当然你也可以使用STLstring）														断言																						...&nbsp;&nbsp;<a href='http://www.cnitblog.com/cockerel/archive/2006/06/14/12245.html'>阅读全文</a><img src ="http://www.cnitblog.com/cockerel/aggbug/12245.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-14 13:57 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/14/12245.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>园内导航</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/14/12223.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Wed, 14 Jun 2006 02:11:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/14/12223.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12223.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/14/12223.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12223.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12223.html</trackback:ping><description><![CDATA[
		<p designtimesp="19596">
				<a class="" title="" href="/cockerel/category/3074.html" target="">岁月如歌</a>
				<br />成长的足迹，岁月的积淀<a class="" title="" href="/cockerel/category/3068.html" target="_blank" designtimesp="19597"><br />个人词典</a><br designtimesp="19598" />如果你对新名词有旺盛的求知欲，这是满足欲望的好地方<br designtimesp="19599" /><a class="" title="" href="/cockerel/category/3074.html" target="_blank" designtimesp="19600">奇闻趣文</a><br designtimesp="19601" />世界之大，无奇不有<br /><a class="" title="" href="/cockerel/category/3189.html" target="_blank">休闲搞笑</a><br />笑一笑，十年少<br designtimesp="19602" /><a class="" title="" href="/cockerel/category/3073.html" target="_blank" designtimesp="19603">IT资讯</a><br designtimesp="19604" />如果你是一位IT人士，这里预见了你的前途<br designtimesp="19605" /><a class="" title="" href="/cockerel/category/3077.html" target="_blank" designtimesp="19606">玩转编程</a><br designtimesp="19607" />没有做不到，只有想不到<br designtimesp="19608" /><a class="" title="" href="/cockerel/category/3075.html" target="_blank" designtimesp="19609">零件仓库</a><br designtimesp="19610" />合抱之木，生于毫末；九层之台，起于累土；千里之行，始于足下。<br /><a class="" title="" href="/cockerel/category/4378.html" target="">新语丝精华</a><br />精神宝库，战斗前沿</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12223.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-14 10:11 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/14/12223.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>windows死机代码一览表</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12084.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:43:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12084.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12084.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12084.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12084.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12084.html</trackback:ping><description><![CDATA[
		<p>
				<br />作者 feiy, 星期二 7 二月 2006 à 22:38 :: 程序人生 :: #194 :: rss </p>
		<p>Tags:Microsoft , Windows  <br />使用Windows出现蓝色屏幕是经常的事，而且每每因为不清楚错误的来源而频繁重新安装系统，劳神费时。下列收集了一些Windows死机密码，供大家参考：</p>
		<p>0x0000 操作完成 <br />0x0001 不正确的函数 <br />0x0002 系统找不到指定的文件 <br />0x0003 系统找不到指定的路径 <br />0x0004 系统无法打开文件 <br />0x0005 拒绝存取 <br />0x0006 无效的代码 <br />0x0007 内存控制模块已损坏 <br />0x0008 内存空间不足，无法处理这个指令 <br />0x0009 内存控制模块地址无效 <br />0x000a 环境不正确 <br />0x000b 尝试载入一个格式错误的程序 <br />0x000c 存取码错误 <br />0x000d 资料错误 <br />0x000e 内存空间不够，无法完成这项操作 <br />0x000f 系统找不到制定的硬盘 <br />0x0010 无法移除目录 <br />0x0011 系统无法将文件移到其他的硬盘 <br />0x0012 没有任何文件 <br />0x0019 找不到指定的扇区或磁道 <br />0x001a 指定的磁盘或磁片无法存取 <br />0x001b 磁盘找不到要求的扇区 <br />0x001c 打印机没有纸 <br />0x001d 系统无法将资料写入制定的磁盘 <br />0x001e 系统无法读取指定的装置 <br />0x001f 连接到系统的某个装置没有作用 <br />0x0021 文件的一部分被锁定 <br />0x0024 开启的分享文件数量太多 <br />0x0026 到达文件结尾 <br />0x0027 磁盘已满 <br />0x0036 网络繁忙 <br />0x003b 网络发生意外的错误 <br />0x0043 网络名称找不到 <br />0x0050 文件已经存在 <br />0x0052 无法建立目录或文件 <br />0x0053 int24失败 <br />0x006b 因为代用的磁盘尚未插入，所以程序已经停止 <br />0x006c 磁盘正在使用中或被锁定 <br />0x006f 文件名太长 <br />0x0070 硬盘空间不足 <br />0x007f 找不到指定的程序 <br />0x045b 系统正在关机 <br />0x045c 无法种植系统关机，因为没有关机的动作在进行中 <br />0x046a 可用服务器储存空间不足，无法处理这项指令 <br />0x047e 指定的程序需要新的Windows版本 <br />0x047f 指定的程序不是Windows或MS-DOS程序 <br />0x0480 指定的程序已经启动，无法再启动一次 <br />0x0481 指定的程序是为旧版的Windows所写的 <br />0x0482 执行此应用程序所需的程序库文件之一毁坏 <br />0x0483 没有应用程序与此项操作的指定文件建立关联 <br />0x0484 传送指令到应用程序发生错误 <br />0x04b0 指定的装置名称无效 <br />0x05a2 窗口不是子窗口 <br />0x05aa 系统资源不足，无法完成所要求的服务 <br />0x05ab 系统子还不足，无法完成所需要的服务 <br />0x05ac 系统资源不足，无法完成所要求的服务 <br />0x06b9 资源不足，无法完成操作 <br />转自：嬴政论坛</p>
		<p> </p>
		<p> </p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12084.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:43 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12084.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>常用的宽字符函数</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12072.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:42:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12072.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12072.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12072.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12072.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12072.html</trackback:ping><description><![CDATA[
		<p>常用的宽字符函数<br />由于Windows NT/2000/XP采用的是Unicode字符编码，字符都是双字节的。所以在MFC编程中，一般需要使用双字节的字符类型wchar_t和对应的字符串及其指针类型LPCWSTR和LPCTSTR，并在常数字符串前添加了L转换符，串长计算函数不能用strlen而改用wcslen，串格式打印函数也不能用sprintf，而是改用swprintf。<br />wchar_t类型，在标准C++中为内置的数据类型和关键字；在C99标准中则为typedef类型，其等价的数据类型与具体的实现有关，在Win32和VC中定义为：<br />typedef  unsigned short  wchar_t;<br />下面是若干常用的宽字符函数（包含在ISO C99 / ISO C++的标准库中）：<br />#include &lt;wchar.h&gt;<br />size_t wcslen(const wchar_t *s);<br />int wprintf(const wchar_t * restrict format, ...);<br />int wscanf(const wchar_t * restrict format, ...);<br />int swprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, ...);<br />int swscanf(const wchar_t * restrict s, const wchar_t * restrict format, ...);<br />long int wcstol(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);<br />float wcstof(const wchar_t * restrict nptr, wchar_t ** restrict endptr);<br />double wcstod(const wchar_t * restrict nptr, wchar_t ** restrict endptr);</p>
		<p>#include &lt;stdlib.h&gt;<br />errno_t _itow_s( int value, wchar_t *buffer, size_t sizeInCharacters, int radix ); <br />errno_t _ultow_s( unsigned long value, wchar_t *str, size_t sizeOfstr, int radix );<br /></p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
		<p style="FONT-SIZE: 12px">转载自李才伟老师的课件</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12072.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:42 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12072.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>常用的安全CRT函数</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12073.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:42:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12073.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12073.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12073.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12073.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12073.html</trackback:ping><description><![CDATA[
		<p>常用的安全CRT函数<br />安全CRT（C Runtime Library = C运行时间库）函数，是微软公司对C/C++语言的扩展。它在原来函数名后添加了“_s”后缀；一般返回出错代码；并将原来的函数返回值，作为一个参数，添加到函数输入参数列表的最后；对带缓冲区参数的函数，还添加了表示缓冲区大小的输入参数，以防止内存溢出。<br />在VC05中，如果不使用这些安全性函数，编译器会报告警告性错误。<br />下面是若干常用的安全CRT函数：<br />char *gets_s( char *buffer, size_t sizeInCharacters); // &lt;stdio.h&gt;<br />wchar_t *_getws_s( wchar_t *buffer, size_t sizeInCharacters); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />errno_t _itoa_s( int value, char *buffer, size_t sizeInCharacters, int radix ); // &lt;stdlib.h&gt;<br />errno_t _itow_s( int value, wchar_t *buffer, size_t sizeInCharacters, int radix ); // &lt;stdlib.h&gt;<br />errno_t _ultoa_s( unsigned long value, char *str, size_t sizeOfstr, int radix ); // &lt;stdlib.h&gt;<br />errno_t _ultow_s( unsigned long value, wchar_t *str, size_t sizeOfstr, int radix ); // &lt;stdlib.h&gt;<br />int printf_s( const char *format [, argument]... ); // &lt;stdio.h&gt;<br />int wprintf_s( const wchar_t *format [, argument]... ); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />int scanf_s( const char *format [, argument]... ); // &lt;stdio.h&gt;<br />int wscanf_s( const wchar_t *format [, argument]... ); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />int sprintf_s( char *buffer, size_t sizeOfBuffer, const char *format [, argument] ... ); // &lt;stdio.h&gt;<br />int swprintf_s( wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format [, argument]...); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />int sscanf_s( const char *buffer, const char *format [, argument ] ...); // &lt;stdio.h&gt;<br />int swscanf_s( const wchar_t *buffer, const wchar_t *format [, argument ] ...); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />int fprintf_s( FILE *stream, const char *format [, argument ]...); // &lt;stdio.h&gt;<br />int fwscanf_s( FILE *stream, const wchar_t *format [, argument ]... ); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />int fscanf_s( FILE *stream, const char *format [, argument ]... ); // &lt;stdio.h&gt;<br />int fwscanf_s( FILE *stream, const wchar_t *format [, argument ]... ); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />errno_t strcpy_s( char *strDestination, size_t sizeInBytes, const char *strSource ); // &lt;string.h&gt;<br />errno_t wcscpy_s( wchar_t *strDestination, size_t sizeInWords, const wchar_t *strSource ); // &lt;string.h&gt; or &lt;wchar.h&gt;<br />errno_t fopen_s( FILE** pFile, const char *filename, const char *mode ); // &lt;stdio.h&gt;<br />errno_t _wfopen_s( FILE** pFile, const wchar_t *filename, const wchar_t *mode ); // &lt;stdio.h&gt; or &lt;wchar.h&gt;<br />errno_t rand_s( unsigned int* randomValue); // &lt;stdlib.h&gt;</p>
		<p>下面是若干安全函数原型用到的数据类型的定义：<br />#include &lt;crtdefs.h&gt;<br />typedef  int  errno_t;<br />typedef  unsigned short  wchar_t;<br />#ifdef  _WIN64<br />typedef  unsigned __int64  size_t;<br />#else<br />typedef  _W64 unsigned int  size_t;<br />#endif<br /></p>
		<p> </p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
		<p style="FONT-SIZE: 12px">转载自李才伟老师的课件</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12073.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:42 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12073.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>数据类型、变量和常量的定义</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12074.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:42:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12074.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12074.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12074.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12074.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12074.html</trackback:ping><description><![CDATA[
		<p>1）数据类型、变量和常量的定义<br />在Windows API中，定义了若干数据类型和基本常量(windef.h)：<br />typedef int             BOOL;<br />typedef unsigned char     BYTE;<br />typedef unsigned short    WORD;<br />typedef int          INT;<br />typedef unsigned int      UINT;<br />typedef unsigned long    DWORD;<br />LONGLONG 64位整数</p>
		<p>typedef char      CHAR;<br />typedef __nullterminated CONST CHAR * LPCSTR;<br />typedef unsigned short      wchar_t;<br />typedef wchar_t      WCHAR;<br />typedef CONST WCHAR *    LPCWSTR;<br />#ifdef UNICODE<br /> typedef LPCWSTR      LPCTSTR; <br />#else<br /> typedef LPCSTR      LPCTSTR;<br />#endif</p>
		<p>typedef UINT  WPARAM;<br />typedef LONG LPARAM;<br />typedef LONG  LRESULT;</p>
		<p>typedef DWORD    COLORREF; // 0x00bbggrr<br />typedef short  HFILE;</p>
		<p>#define NULL     0 // C++<br />#define NULL     ((void *)0) // C<br />#define FALSE         0<br />#define TRUE           1</p>
		<p>在Windows API中，还定义了若干作为对象索引的句柄(handle)：<br />HANDLE // Handle to an object.（DWORD）<br />HBITMAP // Handle to a bitmap. <br />HBRUSH // Handle to a brush. <br />HCURSOR // Handle to a cursor. <br />HDC // Handle to a device context (DC). <br />HFILE // Handle to a file opened by OpenFile, not CreateFile. <br />HFONT // Handle to a font. <br />HGLOBAL // Handle to a global memory block.<br />HICON // Handle to an icon. <br />HINSTANCE // Handle to an instance. <br />HLOCAL // Handle to a local memory block. <br />HMENU // Handle to a menu. </p>
		<p>在Windows API编程中，常在变量中使用前缀来代表其数据类型：<br />b BOOL<br />by BYTE<br />c char<br />dw DWORD<br />fn function（函数）<br />h handle（句柄）<br />i int<br />l LONG<br />lp long pointer（长指针）<br />n short<br />np near pointer（近指针）<br />p pointer（指针）<br />s string（字符串）<br />sz string end with zero（以’\0’结尾的字符串）<br />w WORD</p>
		<p>在Windows API编程中，在常量中使用前缀来代表其所属范围：<br />CS  Class Style（[窗口]类风格）<br />CW  Create Window（创建窗口）<br />DT  Drawing Text（绘制文本）<br />IDC  IDentity of Cursor（光标标识）<br />IDI  IDentity of Icon（图标标识）<br />WM  Window Message（窗口消息）<br />WS  Window Style（窗口风格）</p>
		<p>l 几点有关字符（串）类型的说明：<br />n char为C/C++语言的单字节字符类型<br />n wchar_t为ISO C++的（双字节）宽字符类型，也是ISO C99的（双字节）宽字符typedef类型（typedef unsigned short wchar_t;）<br />n WCHAR和_TCHAR都是微软公司为Win32定义的与wchar_t等价的双字节宽字符typedef类型（typedef wchar_t WCHAR;  typedef wchar_t _TCHAR;）<br />n LPSTR为单字节字符串的长指针<br />n LPCWSTR为双字节字符串的长指针<br />n LPCTSTR为（双或单字节）字符串的长指针（按是否定义UNICODE确定）<br />n string为ISO C++标准新加的单字节字符串类<br />n CString为微软公司的MFC定义的字符串类（兼容单双字节字符）<br />n 在要求宽字符串的地方，字符串常量前需要添加L运算符<br />例如：<br />int x, y;<br />LPCWSTR szAppName = L"WHello";<br />wchar_t buf[20];<br />……<br />swprintf(buf, 20, L"Hello! (%d, %d)", x, y);<br /></p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12074.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:42 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12074.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>STL排序算法效率比较</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12061.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:41:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12061.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12061.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12061.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12061.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12061.html</trackback:ping><description><![CDATA[
		<p>STL排序算法（O(nlogn)）效率比较</p>
		<p>n=300 0000时</p>
		<p>对于完全随机生成的整型数（compiler： VC6）</p>
		<p>
				<br />自写快排：约1.8s 设为1X</p>
		<p>sort=2X<br />qsort=4X<br />make_heap,sort_heap=4X<br />push_heap,sort_heap=4.3X<br />stable_sort=5X<br />set=30X</p>
		<p> </p>
		<p> </p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12061.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:41 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12061.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS常用变更后缀（可用于触发代码提示）</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12062.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:41:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12062.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12062.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12062.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12062.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12062.html</trackback:ping><description><![CDATA[
		<table cellspacing="0" cellpadding="0" width="100%" border="0">
				<!--StartFragment-->
				<tbody>
						<tr>
								<th>
										<p>对象类型</p>
								</th>
								<th>
										<p>变量后缀</p>
								</th>
						</tr>
						<tr>
								<td>
										<p>Array</p>
								</td>
								<td>
										<p>_array</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>按钮</p>
								</td>
								<td>
										<p>_btn</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>摄像头</p>
								</td>
								<td>
										<p>_cam</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>Color</p>
								</td>
								<td>
										<p>_color</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>ContextMenu</p>
								</td>
								<td>
										<p>_cm</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>ContextMenuItem</p>
								</td>
								<td>
										<p>_cmi</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>日期</p>
								</td>
								<td>
										<p>_date</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>Error</p>
								</td>
								<td>
										<p>_err</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>LoadVars</p>
								</td>
								<td>
										<p>_lv</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>LocalConnection</p>
								</td>
								<td>
										<p>_lc</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>麦克风</p>
								</td>
								<td>
										<p>_mic</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>MovieClip</p>
								</td>
								<td>
										<p>_mc</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>MovieClipLoader</p>
								</td>
								<td>
										<p>_mcl</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>PrintJob</p>
								</td>
								<td>
										<p>_pj</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>NetConnection</p>
								</td>
								<td>
										<p>_nc</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>NetStream</p>
								</td>
								<td>
										<p>_ns</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>SharedObject</p>
								</td>
								<td>
										<p>_so</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>Sound</p>
								</td>
								<td>
										<p>_sound</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>字符串</p>
								</td>
								<td>
										<p>_str</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>TextField</p>
								</td>
								<td>
										<p>_txt</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>TextFormat</p>
								</td>
								<td>
										<p>_fmt</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>Video</p>
								</td>
								<td>
										<p>_video</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>XML</p>
								</td>
								<td>
										<p>_xml</p>
								</td>
						</tr>
						<tr bgcolor="#f8f8f8">
								<td>
										<p>XMLNode</p>
								</td>
								<td>
										<p>_xmlnode</p>
								</td>
						</tr>
						<tr>
								<td>
										<p>XMLSocket</p>
								</td>
								<td>
										<p>_xmlsocket</p>
								</td>
						</tr>
						<!--EndFragment-->
				</tbody>
		</table>
		<p> </p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
		<p>
		</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12062.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:41 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12062.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ASCII码</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/12/12068.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 12 Jun 2006 03:41:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/12/12068.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12068.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/12/12068.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12068.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12068.html</trackback:ping><description><![CDATA[
		<p>cppreference.com &gt; ASCII chart <br />ASCII Chart<br />The following chart contains ASCII decimal, octal, hexadecimal and character codes for values from 0 to 127.</p>
		<p>Decimal Octal Hex Character Description <br />0 0 00 NUL  <br />1 1 01 SOH start of header <br />2 2 02 STX start of text <br />3 3 03 ETX end of text <br />4 4 04 EOT end of transmission <br />5 5 05 ENQ enquiry <br />6 6 06 ACK acknowledge <br />7 7 07 BEL bell <br />8 10 08 BS backspace <br />9 11 09 HT horizontal tab <br />10 12 0A LF line feed <br />11 13 0B VT vertical tab <br />12 14 0C FF form feed <br />13 15 0D CR carriage return <br />14 16 0E SO shift out <br />15 17 0F SI shift in <br />16 20 10 DLE data link escape <br />17 21 11 DC1 no assignment, but usually XON <br />18 22 12 DC2  <br />19 23 13 DC3 no assignment, but usually XOFF <br />20 24 14 DC4  <br />21 25 15 NAK negative acknowledge <br />22 26 16 SYN synchronous idle <br />23 27 17 ETB end of transmission block <br />24 30 18 CAN cancel <br />25 31 19 EM end of medium <br />26 32 1A SUB substitute <br />27 33 1B ESC escape <br />28 34 1C FS file seperator <br />29 35 1D GS group seperator <br />30 36 1E RS record seperator <br />31 37 1F US unit seperator <br />32 40 20 SPC space <br />33 41 21 !  <br />34 42 22 "  <br />35 43 23 #  <br />36 44 24 $  <br />37 45 25 %  <br />38 46 26 &amp;  <br />39 47 27 '  <br />40 50 28 (  <br />41 51 29 )  <br />42 52 2A *  <br />43 53 2B +  <br />44 54 2C ,  <br />45 55 2D -  <br />46 56 2E .  <br />47 57 2F /  <br />48 60 30 0  <br />49 61 31 1  <br />50 62 32 2  <br />51 63 33 3  <br />52 64 34 4  <br />53 65 35 5  <br />54 66 36 6  <br />55 67 37 7  <br />56 70 38 8  <br />57 71 39 9  <br />58 72 3A :  <br />59 73 3B ;  <br />60 74 3C &lt;  <br />61 75 3D =  <br />62 76 3E &gt;  <br />63 77 3F ?  <br />64 100 40 @  <br />65 101 41 A  <br />66 102 42 B  <br />67 103 43 C  <br />68 104 44 D  <br />69 105 45 E  <br />70 106 46 F  <br />71 107 47 G  <br />72 110 48 H  <br />73 111 49 I  <br />74 112 4A J  <br />75 113 4B K  <br />76 114 4C L  <br />77 115 4D M  <br />78 116 4E N  <br />79 117 4F O  <br />80 120 50 P  <br />81 121 51 Q  <br />82 122 52 R  <br />83 123 53 S  <br />84 124 54 T  <br />85 125 55 U  <br />86 126 56 V  <br />87 127 57 W  <br />88 130 58 X  <br />89 131 59 Y  <br />90 132 5A Z  <br />91 133 5B [  <br />92 134 5C \  <br />93 135 5D ]  <br />94 136 5E ^  <br />95 137 5F _  <br />96 140 60 `  <br />97 141 61 a  <br />98 142 62 b  <br />99 143 63 c  <br />100 144 64 d  <br />101 145 65 e  <br />102 146 66 f  <br />103 147 67 g  <br />104 150 68 h  <br />105 151 69 i  <br />106 152 6A j  <br />107 153 6B k  <br />108 154 6C l  <br />109 155 6D m  <br />110 156 6E n  <br />111 157 6F o  <br />112 160 70 p  <br />113 161 71 q  <br />114 162 72 r  <br />115 163 73 s  <br />116 164 74 t  <br />117 165 75 u  <br />118 166 76 v  <br />119 167 77 w  <br />120 170 78 x  <br />121 171 79 y  <br />122 172 7A z  <br />123 173 7B {  <br />124 174 7C |  <br />125 175 7D }  <br />126 176 7E ~  <br />127 177 7F DEL delete <br /></p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12068.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-12 11:41 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/12/12068.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>学术讨论群杂锦</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/11/12025.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Sun, 11 Jun 2006 04:03:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/11/12025.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12025.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/11/12025.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12025.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12025.html</trackback:ping><description><![CDATA[
		<p>人力资源专业 23765246   行政管理学 23816575<br />专业企划策划 20459319   情报经济学 23816656<br />专业文职文秘 21635063   专业运筹学 23838677<br />资料档案专业 14979196   商业物流学 17109067<br />企划文案专业 21539452   企业管理学 17216477<br />专业连锁策划 23838540   商业经济学 12909327<br />专业经济法学 23765422   投资分析师 23859798<br />商业会计专业 21598846   培训师专业 15351332<br />装修施工监理 23816689   网络工程师 23839053<br />专业工商管理 21691569   软件工程师 16372522<br />专业国际贸易 23838936   硬件工程师 17214594<br />计算机图形学 23816734   专业地图学 23816800<br />企业管理顾问 17470580   电气工程学 19671362<br />专业包装印刷 23839094   机械工程学 22121138<br />专业洗衣技师 23860851   工程热物理 23327595<br />专业化学工程 23766314   金属热处理 23766589<br />专业动力工程 17690349   专业轴承学 23862083<br />专业锻压机械 23839197   金属材料学 23343228<br />专业铸造技术 18939722   润滑与密封 17242241<br />专业表面技术 23816849   专业焊接学 23766933<br />专业机械设计 23406923   专业越南语 18120586<br />电子电气自控 16275485   菲律宾国语 20577498<br />专业水泵技术 23839307   专业马来语 20538883<br />专业模具工业 10789783   专业缅甸语 20450985<br />水处理工程师 23839344   专业泰国语 20420850<br />专业柬埔寨语 23862191   专业老挝语 23686810<br />印度尼西亚语 5941401  </p>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12025.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-11 12:03 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/11/12025.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>网络词典</title><link>http://www.cnitblog.com/cockerel/archive/2006/06/11/12023.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Sun, 11 Jun 2006 03:49:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2006/06/11/12023.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/12023.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2006/06/11/12023.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/12023.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/12023.html</trackback:ping><description><![CDATA[
		<div id="main" style="WIDTH: 752px">
				<div id="center">
						<div class="bai">
								<div class="b3 bcr mb12">
										<div class="p90">
												<!--StartFragment-->
												<div class="f14 wr">金山词霸搜索-免费在线翻译 </div>
												<div class="f14 wr">
														<a href="http://cb.kingsoft.com/">http://cb.kingsoft.com/</a>
														<br />词典198本,英汉450万条,汉英340万条,日汉12万条,汉日2万条,汉汉10万条,中英日德法五国语言互译26万条. <br /><br />网络词典 <br />三省堂网络词典 <a href="http://www.sanseido.net/" target="_blank">http://www.sanseido.net</a> ; <br />goo辞书 <a href="http://dictionary.goo.ne.jp/" target="_blank">http://dictionary.goo.ne.jp/</a> ; <br />infoseekマルチ辞书 <a href="http://jiten.www.infoseek.co.jp/" target="_blank">http://jiten.www.infoseek.co.jp/</a> ; <br />日汉汉日词典 <a href="http://bitex-cn.com/" target="_blank">http://bitex-cn.com/</a><br /><br />网上翻译 <br />excite中日英韩翻译 <a href="http://www.excite.co.jp/world/" target="_blank">http://www.excite.co.jp/world/</a> ; <br /><br />日本各在线翻译网站 <br /><br /><a href="http://www.nifty.com/globalgate/" target="_blank">http://www.nifty.com/globalgate/</a> 英日互译 <br /><br /><a href="http://software.fujitsu.com/jp/atlas/sample.html" target="_blank">http://software.fujitsu.com/jp/atlas/sample.html</a> 英日互译 <br /><br /><a href="http://www.infoseek.co.jp/Honyaku/" target="_blank">http://www.infoseek.co.jp/Honyaku/</a> 英日互译，韩日互译，中日互译 <br /><br /><a href="http://enjoykorea.naver.co.jp/" target="_blank">http://enjoykorea.naver.co.jp/</a> 韩国网页日译 <br /><br /><a href="http://www.ocn.ne.jp/translation/" target="_blank">http://www.ocn.ne.jp/translation/</a> 英日互译，韩日互译 <br /><br /><a href="http://www.rikai.com/perl/HomePage.pl?Language=Ja" target="_blank">http://www.rikai.com/perl/HomePage.pl?Language=Ja</a> 英日互译<br />参考资料：<a href="http://zhidao.baidu.com/question/792117.html" target="_blank">http://zhidao.baidu.com/question/792117.html</a></div>
												<div class="gray" align="right">回答者：<a href="http://passport.baidu.com/?detail&amp;aid=7&amp;default_tab=2&amp;un=famorby" target="_blank">famorby</a> -<a href="http://www.baidu.com/search/zhidao_help.html#n5" target="_blank"> 魔导师 十一级</a> 1-31 21:14</div>
												<!--EndFragment-->
										</div>
								</div>
						</div>
				</div>
		</div>
		<p style="FONT-SIZE: 12px">---<br />本文章使用<a href="http://www.kicoy.com">开源内容管理kicoy</a>发布</p>
<img src ="http://www.cnitblog.com/cockerel/aggbug/12023.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2006-06-11 11:49 <a href="http://www.cnitblog.com/cockerel/archive/2006/06/11/12023.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>