正在加载图片...
③ C++程序的基本组成 ©基本的C++程序结构 /File:hello.cpp /this program prints the message 程序注释 1/"hello everyone"on the screen #include <iostream> 预处理命令 int main() std:cout<<“hello everyone”<<std:endl; 主程序> return 0; } 司 LoCCSC++程序的基本组成 基本的C++程序结构 // File: hello.cpp // this program prints the message // “hello everyone” on the screen #include <iostream> int main() { std::cout << “hello everyone” << std::endl; return 0; } 程序注释 预处理命令 主程序
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有