正在加载图片...
22:14:22 §2简单的C++程序举例 例1.经典的He110Wor1d程序 include <iostream>h> usidgmaamds pace std; toid main o I cout << Hello World! < end1 cout <<Henle Worodf++ program. < endl << This is our first C++ program. < end1; 新的C+标准推荐使用第一种方法22:14:22 §2 简单的C++程序举例 例1.经典的Hello World程序 #include <iostream> using namespace std; void main() { cout <<"Hello World!" << endl << "This is our first C++ program." << endl; } #include <iostream.h> void main() { cout <<"Hello World!" << endl << "This is our first C++ program." << endl; } 新的C++标准推荐使用第一种方法
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有