#include <iostream>
#include <vector>
#include <string>
using namespace std;
void fun_940()
{
string q1("When lilacs last in the dooryard bloom'd");
string q2("The child is father of the man");
string sentence;
sentence.assign(q2, 0, 12);
sentence.append(q1, 16, 16);
cout<<sentence<<endl;
}
《c++ Primer(第四版)》习题 9.40
最新推荐文章于 2019-06-30 18:09:33 发布