#include <iostream>
#include <string>
using namespace std;
int main()
{
string pp="zhouwa";
string &kk = pp;
kk = "xuhaitao";
//cin>>pp;
cout<<pp<< endl;
system("pause");
return 0;
}
打印结果:
FR:海涛高软(hunk Xu)
#include <iostream>
#include <string>
using namespace std;
int main()
{
string pp="zhouwa";
string &kk = pp;
kk = "xuhaitao";
//cin>>pp;
cout<<pp<< endl;
system("pause");
return 0;
}
打印结果:
FR:海涛高软(hunk Xu)