C++ 速查手冊 V1.00 - 單元 1 範例




u01.cpp


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This directive include a header file
// from the standard library.
#include <iostream> // cout, endl
 
// The main function is the place to
// start this program. 
int main() {
    // Print a smile.
    std::cout << "^_^" << std::endl;   
     
    // Finally, send 0 to the operating
    // system.
    return 0;
}
  
/* Kaiching Chang
   u01.cpp
   2014-02 */

the end

沒有留言: