ACM经典算法之字符串处理

转自:http://blog.sina.com.cn/s/blog_93d2ceba010145c6.htmlhtml 1、(字符串替换) 语法:replace(char str[],char key[],char swap[]);spa 参数:3d str[]:htm 在此源字符串进行替换操做blog key[]:字符串 被替换的字符串,不能为空串get swap[]:string 替换的字符串
相关文章
相关标签/搜索