//编程环境为 VS 2008.
#include "stdafx.h"
#include <iostream>
using namespace std;
int main(){
cout<<"Hello world!";
getchar();
return 0;
}

本文介绍了一个简单的C++程序,该程序在Visual Studio 2008环境中输出“Hello World!”。通过这个例子,读者可以了解基本的C++语法和VS2008的使用。
//编程环境为 VS 2008.
#include "stdafx.h"
#include <iostream>
using namespace std;
int main(){
cout<<"Hello world!";
getchar();
return 0;
}

631
882
8883
193

被折叠的 条评论
为什么被折叠?