文件名称:StringOverLoading
-
所属分类:
- 标签属性:
- 上传时间:2014-05-26
-
文件大小:4.92mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
运算符重载
任务目标:
学习C++的运算符函数重载机制,并学习C++的。
任务描述:
设计一个字符串类MyString,要求该类能够完成以下操作(用函数重载机制完成)。要求构造完整的类(包括构造、析构函数),并且实现其他以下功能
String1=String2+String3 (重载+)
String1 += String2 (重载+=)
(int)String1 (重载类型转换int),将String对象中的所有字符的ASCII相加后返回。
String1 == String2 (重载相等判断,两字符串相等返回真,不等返回假)
cout << String1 (输出符号重载)
cin >> String1 (输入符号重载)
编写测试程序测试该类。-Operator Overloading mission objectives: learning C++ operator function overloading mechanism, and learn C++' s. Task Descr iption: Design a string class MyString, asked the class to complete the following (using function overloading mechanism is completed). Structural integrity requirements of the class (including the structure, the destructor), and achieve other following functions String1 = String2+String3 (overloaded+) String1+ = String2 (overloaded+ =) (int) String1 (heavy duty type conversion int), the String object to return after all ASCII characters added. String1 == String2 (overloaded equal judgment, two strings are equal returns true, unequal returns false) cout < < String1 (output symbol overloading) cin > > String1 (input symbols reload) the preparation of test procedures to test the class.
任务目标:
学习C++的运算符函数重载机制,并学习C++的。
任务描述:
设计一个字符串类MyString,要求该类能够完成以下操作(用函数重载机制完成)。要求构造完整的类(包括构造、析构函数),并且实现其他以下功能
String1=String2+String3 (重载+)
String1 += String2 (重载+=)
(int)String1 (重载类型转换int),将String对象中的所有字符的ASCII相加后返回。
String1 == String2 (重载相等判断,两字符串相等返回真,不等返回假)
cout << String1 (输出符号重载)
cin >> String1 (输入符号重载)
编写测试程序测试该类。-Operator Overloading mission objectives: learning C++ operator function overloading mechanism, and learn C++' s. Task Descr iption: Design a string class MyString, asked the class to complete the following (using function overloading mechanism is completed). Structural integrity requirements of the class (including the structure, the destructor), and achieve other following functions String1 = String2+String3 (overloaded+) String1+ = String2 (overloaded+ =) (int) String1 (heavy duty type conversion int), the String object to return after all ASCII characters added. String1 == String2 (overloaded equal judgment, two strings are equal returns true, unequal returns false) cout < < String1 (output symbol overloading) cin > > String1 (input symbols reload) the preparation of test procedures to test the class.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
StringOverLoading/
StringOverLoading/StringOverLoading/
StringOverLoading/StringOverLoading/Debug/
StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe
StringOverLoading/StringOverLoading/Debug/StringOverLoading.ilk
StringOverLoading/StringOverLoading/Debug/StringOverLoading.pdb
StringOverLoading/StringOverLoading/ipch/
StringOverLoading/StringOverLoading/ipch/stringoverloading-8d976840/
StringOverLoading/StringOverLoading/ipch/stringoverloading-8d976840/stringoverloading-30935bd.ipch
StringOverLoading/StringOverLoading/StringOverLoading/
StringOverLoading/StringOverLoading/StringOverLoading.sdf
StringOverLoading/StringOverLoading/StringOverLoading.sln
StringOverLoading/StringOverLoading/StringOverLoading.suo
StringOverLoading/StringOverLoading/StringOverLoading/Debug/
StringOverLoading/StringOverLoading/StringOverLoading/Debug/cl.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/CL.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/CL.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link-cvtres.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link-cvtres.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760-cvtres.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760-cvtres.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/main.obj
StringOverLoading/StringOverLoading/StringOverLoading/Debug/mt.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/mt.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/mt.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/MyString.obj
StringOverLoading/StringOverLoading/StringOverLoading/Debug/rc.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/rc.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/rc.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.Build.CppClean.log
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe.embed.manifest
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe.embed.manifest.res
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe.intermediate.manifest
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.lastbuildstate
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.log
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.vcxprojResolveAssemblyReference.cache
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading_manifest.rc
StringOverLoading/StringOverLoading/StringOverLoading/Debug/vc100.idb
StringOverLoading/StringOverLoading/StringOverLoading/Debug/vc100.pdb
StringOverLoading/StringOverLoading/StringOverLoading/main.cpp
StringOverLoading/StringOverLoading/StringOverLoading/MyString.cpp
StringOverLoading/StringOverLoading/StringOverLoading/MyString.h
StringOverLoading/StringOverLoading/StringOverLoading/StringOverLoading.vcxproj
StringOverLoading/StringOverLoading/StringOverLoading/StringOverLoading.vcxproj.filters
StringOverLoading/StringOverLoading/StringOverLoading/StringOverLoading.vcxproj.user
StringOverLoading/StringOverLoading/
StringOverLoading/StringOverLoading/Debug/
StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe
StringOverLoading/StringOverLoading/Debug/StringOverLoading.ilk
StringOverLoading/StringOverLoading/Debug/StringOverLoading.pdb
StringOverLoading/StringOverLoading/ipch/
StringOverLoading/StringOverLoading/ipch/stringoverloading-8d976840/
StringOverLoading/StringOverLoading/ipch/stringoverloading-8d976840/stringoverloading-30935bd.ipch
StringOverLoading/StringOverLoading/StringOverLoading/
StringOverLoading/StringOverLoading/StringOverLoading.sdf
StringOverLoading/StringOverLoading/StringOverLoading.sln
StringOverLoading/StringOverLoading/StringOverLoading.suo
StringOverLoading/StringOverLoading/StringOverLoading/Debug/
StringOverLoading/StringOverLoading/StringOverLoading/Debug/cl.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/CL.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/CL.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link-cvtres.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link-cvtres.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760-cvtres.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760-cvtres.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.9760.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/link.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/main.obj
StringOverLoading/StringOverLoading/StringOverLoading/Debug/mt.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/mt.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/mt.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/MyString.obj
StringOverLoading/StringOverLoading/StringOverLoading/Debug/rc.command.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/rc.read.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/rc.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.Build.CppClean.log
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe.embed.manifest
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe.embed.manifest.res
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.exe.intermediate.manifest
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.lastbuildstate
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.log
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.vcxprojResolveAssemblyReference.cache
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading.write.1.tlog
StringOverLoading/StringOverLoading/StringOverLoading/Debug/StringOverLoading_manifest.rc
StringOverLoading/StringOverLoading/StringOverLoading/Debug/vc100.idb
StringOverLoading/StringOverLoading/StringOverLoading/Debug/vc100.pdb
StringOverLoading/StringOverLoading/StringOverLoading/main.cpp
StringOverLoading/StringOverLoading/StringOverLoading/MyString.cpp
StringOverLoading/StringOverLoading/StringOverLoading/MyString.h
StringOverLoading/StringOverLoading/StringOverLoading/StringOverLoading.vcxproj
StringOverLoading/StringOverLoading/StringOverLoading/StringOverLoading.vcxproj.filters
StringOverLoading/StringOverLoading/StringOverLoading/StringOverLoading.vcxproj.user
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.