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




u01.cpp


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

沒有留言: