摘要:
编程思路如下(截取自《Erlang程序设计》3.8):调试的代码:View Code #include <cstdlib>#include <iostream>#include <vector>using namespace std;void insert(string &str,char ch, vector<string>& aa){ int n=str.length(); for (int i=0; i<=n; i++) { string t_str = str; t_str.insert(i,1,ch); aa.pu 阅读全文