搜索资源列表
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
CODE_UPLOAD8778892000
- Displays a rotatable and scaleable wire frame of any 3D mathematical function. This can be made up from the normal VB maths plus inverse and hyperbolic functions. Functions can be created and saved as wanted. Image vertices can also be saved
zz
- 这一算法实现了堆存存储结构的串的置换操作REPLACE(&S,T,V)-This algorithm achieved a stockpiling storage structure of the string replacement operation REPLACE (& S, T, V)
lzw
- 源代码通过建立一个字符串表,用较短的代码来表示较长的字符串来实现压缩. 提取原始文本文件数据中的不同字符,基于这些字符创建一个编译表,然后用编译表中的字符的索引来替代原始文本文件数据中的相应字符,减少原始数据大小。我们这里的编译表不是事先创建好的,而是根据原始文件数据动态创建的,解码时可以从已编码的数据中还原出原来的编译表.-The source code through the establishment of a string table, with a shorter code to re
5
- 函数ReadDat()实现从文件ENG.IN中读取一篇英文文章,存入到字符串数组xx中;请编制函数encryptChar(),按给定的替代关系对数组xx中的所有字符进行替代,仍存入数组xx的对应的位置上,最后调用函数WriteDat()把结果xx输出到文件PS2.DAT中。 替代关系:f(p)=p*13 mod 256(p是数组中某一个字符的ASCII值,f(p)是计算后新字符的ASCII值),如果计算后f(p)值小于等于32或其ASCII值是偶数,则该字符不变,否则将f(p)所对
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
