• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            foobar

              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              6 隨筆 :: 14 文章 :: 0 評論 :: 0 Trackbacks

             

             1 # include <iostream.h>
             2 void output( int x); // 函數聲明
             3 void output( float x); // 函數聲明
             4 void output( int x)
             5 {
             6 cout << " output int " << x << endl ;
             7 }
             8 void output( float x)
             9 {
            10 cout << " output float " << x << endl ;
            11 }
            12 void main(void)
            13 {
            14 int x = 1;
            15 float y = 1.0;
            16 output(x); // output int 1
            17 output(y); // output float 1
            18 output(1); // output int 1
            19 // output(0.5); // error! ambiguous call, 因為自動類型轉換
            20 output(int(0.5)); // output int 0
            21 output(float(0.5)); // output float 0.5
            22 }
            posted on 2007-11-23 20:35 foobar 閱讀(462) 評論(0)  編輯 收藏 引用
            日韩精品久久久久久| 久久久久亚洲AV无码永不| 国内精品伊人久久久久网站| 一本色道久久88加勒比—综合| 久久国产视频网| 日日躁夜夜躁狠狠久久AV| 久久99热精品| 亚洲天堂久久久| 久久99精品综合国产首页| 香蕉久久夜色精品国产2020| 久久精品国产亚洲av高清漫画 | 69国产成人综合久久精品| 久久精品二区| 国产成人久久激情91| 亚洲精品99久久久久中文字幕 | 粉嫩小泬无遮挡久久久久久| 久久久久国色AV免费看图片| 亚洲AV成人无码久久精品老人| 国产精品免费久久| 久久精品国产网红主播| 久久天天躁狠狠躁夜夜2020一| 91精品国产91热久久久久福利| 亚洲精品白浆高清久久久久久| 青青草原综合久久| 精品少妇人妻av无码久久| 99蜜桃臀久久久欧美精品网站| 久久久久免费视频| 久久综合综合久久97色| 国内精品久久久人妻中文字幕| 日本精品久久久久影院日本 | 99久久香蕉国产线看观香 | 中文字幕久久久久人妻| 久久99国产精品成人欧美| 97久久精品国产精品青草| 久久午夜电影网| 99久久99这里只有免费的精品| 久久国产视频网| 久久精品视频一| 久久99国产精品尤物| 久久中文骚妇内射| 久久久久无码精品国产不卡|