Description: Analog STL library string class, write MyString class, at least between string assignment and comparison (>, <, = ), and the string between the "+" operation (connection) is, at the same time through the followingenumerated in the form of a string object is initialized.
Such as: MyString str1 ("I am"), str2 = "a student"
if (str1> str2) cout << "larger \ n"
if (str1 <str2) cout << "smaller \ n"
if (str1 == str2) cout << "equal \ n"
if (str1! = str2) cout << "unequal \ n"
MyString str3 = str1 str2
To Search:
File list (Check if you may need any files):
C++3
....\08电子多态性实验.doc
....\08电子多态性实验11.doc
....\C++3.cpp
....\C++3.dsp
....\C++3.dsw
....\C++3.ncb
....\C++3.opt
....\C++3.plg
....\c++实验3报告.doc
....\Debug
....\.....\C++3.exe
....\.....\C++3.ilk
....\.....\C++3.obj
....\.....\C++3.pch
....\.....\C++3.pdb
....\.....\vc60.idb
....\.....\vc60.pdb
....\复件 C++3.cpp