#include<iostream>
using namespace std;
#include<string>
int main()
{
//1.c语言风格字符串
char str[] = "hello world";
cout << str << endl;
//2.c++风格字符串
//包含头文件 #include<string>
string str2 = "hello world";
cout << str2 << endl;
system("pause");
return 0;
}