搜索资源列表
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
String-reverse-output
- 实现一个表示 n*n 矩阵的模板类。 1) 至少提供如下必要的矩阵操作:加、乘、转置(建议用操作符重载来实现)。 2) 编制一个交互式程序对该模板类进行测试。 含实验报告与源代码-Achieve a representation n* n matrix template class. A) providing at least the following essential matrix operations: addition, multiplication, transposit
String
- 执行字符串类的复制、链接、比较、求子串、交换、删除、定位等功能-Perform string class copy, links, compare, Praying string, swap, delete, positioning and other functions
aaaaa
- 在网上学习C#写的程序,包括99乘法表,String类的学习,字符串按指定样式输出,判断质数,判断是否为润年,数组排序等等。-In the e-learning program written in C#, including 99 multiplication table, String class learning, the string at the specified style output, determine prime numbers, to determine whether
string
- 这是一个为字符串设计的类,实践了指针的用法,并用成员函数实现了字符串的复制及求串长等功能-This is a design for the string class, practice the use of pointers, and use member function implements the string copying and seek long string functions
CPP_string
- C++string 类的重要操作的列表,程序员课自行查阅-C++ string class, a list of important operations, the programmer access to their own class
hello
- 标准的C++String类,源代码,有利于学习初等的C++语言-hello good student
mystring
- 自己编写的一个string类,模拟string!-I have written a string class to simulate string!
CPPexam6
- 1. 编写并测试 3×3 矩阵转置函数,使用数组保存 3×3 矩阵。 2. 使用动态内存分配生成动态数组来重新完成上题,使用指针实现函数的功能。 3. 编程实现两字符串的连接。要求使用字符数组保存字符串,不要使用系统函数。 4. 使用 string 类声明字符串对象,重新实现上一小题。 5. 声明一个Employee 类,其中包括姓名、街道地址、城市和邮编等属性,以及change_name()和 display()等函数。display()显示姓名、街道地址、城市和邮编等属
MyString
- 实现String类,将基本的功能实现,希望能对你有所帮助-Realization of the String class, the basic realization of the function, I hope you can help
fengpeng_string_class-master
- 自己写的string类c++,不是特别全,但能用-Write your own string class c++, is not particularly wide, but can
chongzai
- 模仿标准库的字符串string,实现一个自己的String 类,要求重载运算符+,=,==,[] 等。-Mimic the standard library string string, to achieve its own String class, requiring overloaded operators+, =, ==, [] And so on.
ex
- 模仿标准库的字符串string,实现一个自己的String 类,要求重载运算符+,=,==,[] 等。-Mimic the standard library string string, to achieve its own String class, requiring overloaded operators+, =, ==, [] And so on.
String
- myString.cpp关于一个复数类的设计,实现了+和*的功能-very good string
C-PP-string-class
- 自己写的C++,一些简单的字符串类库,适合初学类库参考-Write your own C++, some simple string library, suitable for beginners Class Library Reference
String
- 自己实现字符串类,包括字符串的符号重载功能等,适合于C++初学者学习字符串的结构及C++的封装。-Achieve their own string class, including overloaded function symbol string, etc., suitable for beginners to learn the structure and C++ C++ package string.
String_class
- 一个实现string类的数据结构代码,很适合初学者学习-A data structure of the code string class is suitable for beginners to learn
MyString
- 之前的课程作业内容,简单string类的实现。-a simple kind of String
Design-of-the-string-class
- 字符串类的设计与实现,包括使用堆分配存储表示实现字符串的存储,串赋值,串比较,求串长,串连接,求子串,清空子串操作-Design and implementation of the string class, including the use of heap-allocated memory representation for storage string, string assignment, string comparison, seeking string length, string
stringbad0
- 类文件 以及如何使用string类的一些正确和错误的演示-Class files and how to use some of the string class demonstration of right and wrong