#include<iostream>
#include<string>
using namespace std;
int main()
{string text1("having rains are pushing waters beyond the limits.");
string text2,text3;
int k;
text2="sucies gates at the three gorge s opened to discharge water."
text1=text2+text3;
k=text3.find("heavey");
text3.erase(k,sizeof("heavy")-1);
text3.insert(k,"strong");
cout<<text3<<endl;
return 0;
}
1616-3张宇(16.11.11)【连续三十二天总结】
A.string字符串 100%
矩阵乘法 100%
B.今天学习了string字符串的操作和对字符串的处理方法,对编程的注释若是在句末的为该行的注释,若是单独开辟一行则为下面一行语句的注释.
C.矩阵乘法