• <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>

            第一個C++程序

            Posted on 2006-03-07 20:37 天涯浪子 閱讀(1712) 評論(5)  編輯 收藏 引用
            因為是第一次在C++博客上安家,所以小弟我先在此獻丑,寫個Hello程序獻給朋友們。
            #include <iostream>
            using namespace std;
            int main()
            {
                cout<<"Hello , This is my first home for C++."<<endl;
                cout<<"I am very like it!"<<endl;
                cout<<"I'll stay here.OK."<<endl;
                return 0;
            }
            這個小程序只是讓大家對C++有個眼熟,不要被它嚇倒,其實他并不難,不是嗎,不信你看看,就那么幾行呀,呵呵。不過話說回來,成功還得付出努力,學習本來就是個嚴謹的過程,做技術的更是如此,所以還需努力才行。
             好了,就寫到這里吧。

            Feedback

            # re: 第一個C++程序  回復  更多評論   

            2006-03-09 11:12 by 任我行
            哈哈,大家一起學習。。。

            # re: 第一個C++程序  回復  更多評論   

            2006-03-12 11:36 by
            加油加油!

            # re: 第一個C++程序  回復  更多評論   

            2006-05-28 17:55 by beyonlin
            "I am very like it!"------>"I like it very much!"
            這樣改可能更好一些。

            # re: 第一個C++程序  回復  更多評論   

            2006-05-28 20:36 by TH
            #include <iostream>
            using std::cout;
            using std::endl;

            int main(int argc, char* argv[])
            {
            cout<<"Hello , This is my first home for C++."<<endl;
            cout<<"I am very like it!"<<endl;
            cout<<"I'll stay here.OK."<<endl;
            return 0;
            }

            學習本來就是個嚴謹的過程,做技術的更是如此,所以還需努力才行。
            好了,就寫到這里吧。

            # 幫運行一下這個程序好啊!  回復  更多評論   

            2006-12-03 19:58 by 直面人生
            ? #include<iostream.h>
            ? void fn1();
            ? int x=1,y=2;
            ? void main()
            ? {
            ? cout<<"Begin..."<<endl;
            ? cout<<"x="<<x<<endl;
            ? cout<<"y="<<y<<endl;
            ? cout<<"Evaluate x and y in main()..."<<endl;
            ? int x=10,y=20;
            ? cout<<"x="<<x<<endl;
            ? cout<<"y="<<y<<endl;
            ? cout<<"Step into fn1()..."<<endl;
            ? fn1();
            ? cout<<"Back in main"<<endl;
            ? cout<<"x="<<x<<endl;
            ? cout<<"y="<<y<<endl;
            ? }
            ? void fn1()
            ? {
            ? int y=200;
            ? cout<<"x="<<x<<endl;
            ? cout<<"y="<<y<<endl;

            posts - 15, comments - 31, trackbacks - 0, articles - 13

            Copyright © 天涯浪子

            久久99免费视频| 国产女人aaa级久久久级| 久久综合偷偷噜噜噜色| 亚洲伊人久久成综合人影院| 波多野结衣久久一区二区| 99精品久久精品一区二区| 国产亚洲精品美女久久久| 久久精品国产第一区二区| 国产精品中文久久久久久久| 久久九九亚洲精品| 亚洲伊人久久成综合人影院 | 香蕉aa三级久久毛片| 性欧美大战久久久久久久久| 久久精品国产国产精品四凭| 久久亚洲私人国产精品vA| 久久人妻少妇嫩草AV蜜桃| 国产成人久久AV免费| 亚洲中文字幕伊人久久无码| 久久综合丝袜日本网| 久久综合给久久狠狠97色| 蜜桃麻豆www久久国产精品| 精品亚洲综合久久中文字幕| 精品伊人久久大线蕉色首页| 久久亚洲精品无码观看不卡| 99久久超碰中文字幕伊人| 久久久www免费人成精品| 久久久精品国产亚洲成人满18免费网站| 狼狼综合久久久久综合网| 免费精品国产日韩热久久| 久久国产香蕉一区精品| 亚洲午夜精品久久久久久人妖| 久久国产精品77777| 久久久久女人精品毛片| 久久伊人精品一区二区三区| 亚洲色欲久久久久综合网| 欧美午夜A∨大片久久| 久久天天躁狠狠躁夜夜av浪潮| 久久精品国产半推半就| 99久久精品国产免看国产一区| 久久久久99精品成人片欧美| 亚洲精品无码久久一线|