#include<iostream>
#include<string>
using namespace std;
int main()
{
string a="hello world";
char b[]="say hi";
cout<<a<<b<<endl;
return 0;
}
输出hello worldsay hi
怎么换行呢
cout<<a<<endl;
cout<<b;
原文:https://www.cnblogs.com/linyuexiao/p/12547993.html