This Blog is dedicated to Sir Johnson Lin
Learn flow chart from C language , master C with the chart!

C++ 基本 顯示字串功能 C++ basic : Display string " Hello World ! "



D:\cppCodes\HelloWorld\HelloWorld.c++
 1 //++++++++++++++++++++++++++
 2  //      HelloWorld.cpp
 3  //++++++++++++++++++++++++++
 4  
 5  ///#include headers
 6  #include <iostream>
 7  
 8  ///USING
 9  using namespace std;
10  
11  ///mainentry
12  int main()
13  {
14      ///Display string
15      cout << "Hello world!" << endl;
16      
17      ///mainend
18      return 0;
19  }//end main()
20  

@ 下載程式碼 Download source code

沒有留言:

張貼留言