搜索资源列表
myString
- 自己编写的String类,可以用于代替<string>中的string类。支持==、!=、<、>等比较运算符,=复制运算符,有多种构造函数,动态分配内存,长度可变。容易转换成char*类型,而且使用深拷贝,指针使用得当。有常用的Index,Insert,Delete,Replace,SubString方法。而且源码中给出了String类的一个小应用。开发环境Visual C++ 6.0,测试程序为Console模式。-I have written the String c
data_structure3
- 9、优先级队列 QueueNode.h Compare.h PriorityQueue.h Test.cpp 10、串 88 MyString.h MyString.cpp test.cpp 11、二叉树 BinTreeNode.h BinaryTree.h Test.cpp 12、线索二叉树 ThreadNode.h ThreadTree.h ThreadInorderIterator.h te
MyString
- C 语言写的字符串处理方法 依据数据结构的方法编写的关于串处理的各个函数-Written in C language string handling methods based on the data structure prepared by the various string handling functions
Laba_2
- Default constructor MyString::MyString() { m_szString = NULL m_aSize = 0 cout << "Default constructor from my sting\n" }
mystring
- 自编string库,包含各类构造函数和析构函数,以及很多字符串操作函数-it s a string.h
myString
- 编写一个String类,并提供基本的字符串操作(如:字符串相加,获取字符串长度,字符串比较,字符串转换整形/浮点,获取C语言格式的字符串等操作),并编写程序使用该String类。 -Write a String class, and provide basic string operations (such as: adding a string to get the string length, string comparison, string integer/floating poin
asd
- 1. 编写程序完成如下功能: ⑴ 编写一个自己的字符串类MyString,它有一个私有的数据成员:指向字符串的指针m_data。编写该类的构造函数、拷贝构造函数和析构函数,在构造函数和拷贝构造函数中动态申请内存空间赋值给m_data。用于存储字符串。在析构函数中释放内存空间。 ⑵ 重载运算符“+”作为类MyString的成员函数,使能完成字符串相加功能。 ⑶ 编写main函数,测试该类及被重载的运算符。-A written procedure performs the fol
mystring
- 自己编写的字符串处理函数,代码清晰简洁,笔试高分代码哦-I have written a string handling functions, clear and concise code
KMP-algorithm
- 写了一个myString类,用于展示KMP 算法,有少量注释。-KMP algorithm, a small amount of Notes.