搜索资源列表
operate-character-string
- 1、 实现串赋值、串比较、求串长、串联接以及求子串这5种基本操作。 2、 能利用上述实现的基本操作完成置换Replace (&S, T, V)以及从串中删除一段子串StrDelete(&S,pos,len)的操作。
myString
- 自己编写的String类,可以用于代替<string>中的string类。支持==、!=、<、>等比较运算符,=复制运算符,有多种构造函数,动态分配内存,长度可变。容易转换成char*类型,而且使用深拷贝,指针使用得当。有常用的Index,Insert,Delete,Replace,SubString方法。而且源码中给出了String类的一个小应用。开发环境Visual C++ 6.0,测试程序为Console模式。-I have written the String c
string
- 实现顺序串各种基本算运算,建立串,输出串,输出它的长度,插入,删除,替换,提取,把两个串连接成一个串-String order to achieve a variety of basic counting operations, the establishment of string, the output string, the output of its length, insert, delete, replace, extract, the two strings into a stri
zz
- 这一算法实现了堆存存储结构的串的置换操作REPLACE(&S,T,V)-This algorithm achieved a stockpiling storage structure of the string replacement operation REPLACE (& S, T, V)
SearchReplaceStr
- 实现查找、替换字符串\SearchReplaceStr\SearchReplaceStr.rar,很不错的vc源码,希望对大家有所帮助。-Achieve search, replace string \ SearchReplaceStr \ SearchReplaceStr.rar, very good vc source, we want to help.
Ex1
- public: List() //构造函数 int size() const //返回链表的长度 bool full() const //返回链表是否已满 bool empty() const //返回链表是否已空 void clear() //清空链表 int retrieve( int position, string &x ) const //获取链表第position位置的元素到x,成功返回0,否则返回-1 int replace( int positi
4_17
- 用C语言编写的查找替换字符串中的指定字符串的代码-Written in C code of the specified string in the string search and replace
SearchReplaceStr
- 字符串替换,查找,等强大的字符操作函数,可以使用-String replace, find, strong character manipulation functions, you can use
KMP_MP
- KMP算法实现的字符串查找、替换控制台程序。数据结构必备。-KMP algorithm to achieve the string to find, replace the console program. Data structure is essential.
ReplaceText
- 在文件中实现字符串的替换功能。需要输入四个参数。源文件名,目标文件名,需要替换的子字符串,新的字符串。-String replace function in the file. Need to enter the four parameters. The source file name, the target file name, you need to replace the substring, the new string.
4.1
- 编写算法,实现串的基本操作Replace(&S,T,V)。要求采用定长顺序存储表示,并且不允许调用串的基本操作。-Write algorithms to achieve the basic operation Replace string (& S, T, V). Require the use of fixed-length sequential storage representation, and not allowed to call the basic operation of
