今天是学习C++的第二天,这是我第一个C++程序,不知道为什么大部分教材上的第一个程序都是Hello World。
#include <iostream>
using namespace std;
int main
{
cout<<"hello world"<<endl<<endl;
system("pause");
return 0;
}
今天是学习C++的第二天,这是我第一个C++程序,不知道为什么大部分教材上的第一个程序都是Hello World。
#include <iostream>
using namespace std;
int main
{
cout<<"hello world"<<endl<<endl;
system("pause");
return 0;
}