搜索资源列表
MyString
- 用C++重写的一人字符串类,该类包括字符串的一些基本操作-Using C++ rewrite of a string type, string type, including some of the basic operation
MyString
- 一个自己写的 string 类例子,比较方便-Write a string class examples of their own, more convenient
mystring
- 自己写的string的类,模仿库中的string,支持初始化,复值,字符串相加-Write their own string class, imitation library string, to support initialization, complex value, string concatenation
mystring
- string串的一个派生类mystring,可以依次读出字符串中的说有数字-It is a derived class of string named mystring,which can read out numbers in the string into double in turn。
MyString
- 字符串类, 设置字符串, 拷贝字符串, 连接字符串,删除字符串, 获取长度, 适合c/c++新手参考-String class, set the string, copy the string, connection string, delete string, get the length, for c/c++ novice Reference
MyString
- 使用C++封装的CString类,支持格式化,各种运算符重载等功能。-Package using C++ CString class, support formatting, functions of operator overloading.
Mystring
- 这是我自己编写的一个string类,给初学者一个参考。-A string class build by myself.
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相加后返回。
MyString
- 之前的课程作业内容,简单string类的实现。-a simple kind of String
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,
string
- string类在c++中使得程序员对于字符串的操作更加方便,今天就来编写自己的MyString类。(The string class makes it easier for programmers to manipulate strings in c ++, and to write your own MyString class today.)
实验三第一题
- 本来是想全部实现c++中string类的功能 但是只实现了string类的部分功能(Implementing part of the functions of the string class)