搜索资源列表
MyString
- 一个自己写的 string 类例子,比较方便-Write a string class examples of their own, more convenient
str
- Mystring类的功能集合以及实现。包括各函数。c++语言。-Mystring class feature set and achieve. Including various functions.using c++ language.
CPP3
- 模拟STL库中string类的功能,编写MyString类,至少实现字符串间的赋值、比较(包括>、<、=、!=)和字符串间的”+”(连接)操作,同时能通过下面列举的形式对字符串对象进行初始化。 如:MyString str1(“I am ”),str2=“a student” if(str1>str2) cout<<“larger\n” if(str1<str2) cout<<“smaller\n” if(str1==s
MyString
- 封装自己的CMyString类,实现对字符串的处理。-Package your own CMyString classes that implement the string processing.
MyString
- 实现一个字符串类myString。要求有构造函数,析构函数,拷贝构造函数,运算符 重载函数,可以实现串比较,串赋值,求串长,串连接,反转字符串等基本功能。-Implement a string class myString. Require a constructor, destructor, copy constructor, operator overloading function can be achieved string comparison, string assignment
MyString
- 实现String类,将基本的功能实现,希望能对你有所帮助-Realization of the String class, the basic realization of the function, I hope you can help
TEST2
- 构造Mystring类,实现各运算符重载-Mystring class structure, the realization of the operator overloading
StringOverLoading
- 运算符重载 任务目标: 学习C++的运算符函数重载机制,并学习C++的。 任务描述: 设计一个字符串类MyString,要求该类能够完成以下操作(用函数重载机制完成)。要求构造完整的类(包括构造、析构函数),并且实现其他以下功能 String1=String2+String3 (重载+) String1 += String2 (重载+=) (int)String1 (重载类型转换int),将String对象中的所有字符的ASCII相加后返回。
String
- myString.cpp关于一个复数类的设计,实现了+和*的功能-very good string
44
- 不用字符串来实现 InternetURL 类-define InternetURL class to save a URL string like as www.bit.edu.cn ,and realize the demands as follows: 0. You CAN NOT use string in the program 1. You must use MyString you just defined in the exercise3.txt to sa
MyString
- 这个是老师上课的时候给的一个示例小程序的题目。内容是对C++的练习。自己写一个String类。 -This is a small program that our teacher gave us as an example during the class.This is to make a small system.Including document and CPP source file.
mystring
- 这是一个用c++编的mystring类,它可以用来让初学c++者了解string类型内部的原理。-c++ mystring
Mystring
- c++封装的cstring类.很实用,是刚学的时候写的,-C++ Encapsulated cstring category. Very practical, is just learning to write,
实验三第一题
- 本来是想全部实现c++中string类的功能 但是只实现了string类的部分功能(Implementing part of the functions of the string class)