CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - string类的方法
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Compress-Decompress algrithms
STL
Data structs
Algorithm
AI-NN-PR
matlab
Bio-Recognize
Crypt_Decrypt algrithms
mathematica
Maple
DataMining
Big Data
comsol
physical calculation
chemical calculation
simulation modeling
Search - string类的方法 - List
[
Data structs
]
myString
DL : 0
自己编写的String类,可以用于代替<string>中的string类。支持==、!=、<、>等比较运算符,=复制运算符,有多种构造函数,动态分配内存,长度可变。容易转换成char*类型,而且使用深拷贝,指针使用得当。有常用的Index,Insert,Delete,Replace,SubString方法。而且源码中给出了String类的一个小应用。开发环境Visual C++ 6.0,测试程序为Console模式。-I have written the String class can be used to replace the string type
Date
: 2026-01-01
Size
: 15kb
User
:
billsedison
[
Data structs
]
TsinghuaCdatastructures
DL : 0
清华+殷人昆C++数据结构 幻灯片教学课件 通过本课程的学习,应达到知识和技能两方面的目标: 1、知识方面:从数据结构的类定义和对象的使用,以及存储表示和操作的实现两个层次,系统地学习和掌握常用的基本数据结构(包括数组、顺序表、多项式、字符串、链表、栈与队列、优先级队列、广义表、树与森林、二叉树、堆、集合、图、搜索结构、索引结构、散列结构等)及其不同的实现,了解并掌握分析、比较和选择不同数据结构、不同存储结构、不同算法的原则和方法,为后续课程的学习打好基础。 -Tsinghua Queensland C++ data structures courseware slides Through the study of curriculum, knowledge and skills to achieve two objectives: 1, knowledge areas: data structure from the class definition and object use, and storage that implementation and operation of two levels, the system commonly used to study and master the basic data structure (including the array, the order form, polynomial, string , linked lists, stacks and queues, priority queues, generalized form, trees and forests, tree, heap, collection, map, search structures, index structures, hash structures, etc.) and their different implementation, understanding and skills analysis , compare and choose a different data structure, different storage structure, the principle of different algorithms and methods for follow-up study to lay the foundation of the curriculum.
Date
: 2026-01-01
Size
: 1.75mb
User
:
ciweijsf
[
Data structs
]
String
DL : 0
JAVA中有关类string和类 StringBuffer的方法和构造方法及继承.-JAVA in the class and the class StringBuffer string methods and construction methods and inheritance.
Date
: 2026-01-01
Size
: 20kb
User
:
lby
[
Data structs
]
handout-files
DL : 0
实施第一类你必须使用一个链表来实现这些队列的方法,并队列增长到任何需要的大小。你执行第二类必须使用数组来实现这个队列类。该数组的大小应该是10,永远不会改变。 要实现第一个队列,你可以使用通用的节点类。第二个队列,必须使用一个固定大小的数组来实现。 您还必须建立一个主要的方法,使用户可以进入队列的字符串,获取和打印队列的头部(输入命令“poll”)的字符串,插入一个空值(命令“null ”),或退出程序(命令“quit”)。由用户输入的任何其他字符串应插入到队列中,通过调用该要约方法。 通过简单地改变在main方法中使用的类的名称,您的主要方法应该与你的两个class之一。因此,C + +继承功能,可以考虑。 下面给出的主要功能的框架,你的程序正常工作的主要功能(请注意类的名称)。 -To implement the first queue you may use the generic node class. The second queue must be implemented using a fixed-size array. You must also build a main method that allows the user to enter strings into the queue, get and print the string at the head of the queue (by entering the command "poll"), insert a null value (command "null"), or exit the program (command "quit"). Any other string entered by the user should be inserted into the queue by calling the offer method. By simply changing the name of the class used in the main method, your main method should work with either of your two classes. Thus, the C++ inherit feature could be considered. The framework of the main function is given below, your program should work correctly with the main function (notice the class name).
Date
: 2026-01-01
Size
: 1kb
User
:
steven
[
Data structs
]
Stxllrare
DL : 0
建立一个通讯录的类note,该类中的属性有以下几项:String name,phone,MobilePhone,zip,address,Email 分别表示:姓名,固定电话,手机号,邮编,地址,电子邮邮邮件地址。方法有两个:Setnote()给属性赋初值的函数,方法show()显示出来一条通讯记录。 程序源码使用了ObjectInPutStream与ObjectOutPutStream这两个文件输入 -Class note to create an address book, class attributes are the following: String name, phone, MobilePhone, the zip, address, Email: name, fixed telephone, mobile phone number, zip code, address, e-mail Post e-mail address . There are two ways to the: Setnote () function of the initial value to the property, the method show () out of a communication record. The program source code use a ObjectInPutStream, and ObjectOutPutStream these two file input
Date
: 2026-01-01
Size
: 2kb
User
:
高尚
[
Data structs
]
cstring-3.6.2
DL : 0
cstring 是一个小型、简单的C类库,用来操作C语言风格的字符串。字符串是以 cstring_t 结构的实例展现,通过这个类库的方法来操作: Selection of different allocator pools (including Global, COM Task and process heap allocators on Win32) Mapping cstring_t instances as views onto existing memory areas Efficient work-ahead memory optimisation Minimal link requirements: only requires KERNEL32 and C standard library on Win32-cstring is a small, simple C library used to operate the C-style string. Instances of the string is cstring_t structure show through this library to operate: Selection of the different an allocator pools It (including Global, COM task and process the heap allocators " on Win32) Mapping cstring_t instances as views onto existing Memory areas Efficient The work-ahead memory optimisation Minimal link requirements: only requires KERNEL32 and C standard library on Win32
Date
: 2026-01-01
Size
: 688kb
User
:
mou
[
Data structs
]
UStringLD
DL : 0
字符串匹配LD算法的Delphi实现,提供了类TStringLD,封装了比较方法和获取字符串差异详情的方法。-LD Delphi string matching algorithm, implemented in Delphi. Provides a class TStringLD, which encapsulates a comparison method and a method to fetch detailed information.
Date
: 2026-01-01
Size
: 1kb
User
:
Yijian
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.