2018年7月28日 — replace函数包含于头文件#include<string>中。 ... string& replace (size_t pos, size_t len, size_t n, char c);. 代码如下:. #include<iostream>.
確定! 回上一頁