• <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 閱讀(463) 評論(0)  編輯 收藏 引用
            国产精品免费久久久久影院| 精品人妻伦九区久久AAA片69| 国内精品伊人久久久久妇| 久久久久国色AV免费看图片| 四虎影视久久久免费观看| 久久精品国产精品亚洲精品| 色婷婷综合久久久中文字幕| 国产成人久久精品一区二区三区| 国产精品VIDEOSSEX久久发布| 欧美久久综合九色综合| 香蕉久久夜色精品升级完成| 国产成人AV综合久久| 久久久久久久波多野结衣高潮| 国产精品无码久久综合| 国产毛片久久久久久国产毛片 | 亚洲中文精品久久久久久不卡| 久久久久久亚洲Av无码精品专口| 青草影院天堂男人久久| 久久精品青青草原伊人| 久久久久女教师免费一区| 久久人爽人人爽人人片AV | 久久综合给久久狠狠97色| 国产精品久久久久久搜索| 99久久国产精品免费一区二区| 久久国产一区二区| 国产成人久久精品一区二区三区| 久久久亚洲AV波多野结衣| 久久精品亚洲乱码伦伦中文| 久久精品国产亚洲网站| 丰满少妇人妻久久久久久| 色偷偷久久一区二区三区| 亚洲精品无码久久久久sm| 综合久久一区二区三区| 亚洲精品高清一二区久久| 久久久久99精品成人片牛牛影视| 99久久精品免费看国产| 老司机国内精品久久久久| 热久久这里只有精品| AAA级久久久精品无码区| A级毛片无码久久精品免费| 国产女人aaa级久久久级|