c++语法学习开始

这里是我的第一个基础C++语法段落。以“hello world”作为开始

1
2
3
4
5
6
7
8
9

using namespace std;

int ()
{
char a[]="hello world";
cout<<a;
return 0;
}

运行上述程序,即可在屏幕上输出“hello world”语句。