Description: Design string class
Requirements:
1, defined for the class constructor, destructor and assignment operator. The constructor should be at least three: the no-argument constructor, C-style string
Constructor and copy constructor
Provide the necessary member function for the string class, you can refer to the C library string class provided that the member function should include at least
Subscript to access, substring searches, access to C-style string to get the length of the string, the string comparison of these functions are
3, using the string class to complete the test program: Statistics in a text file containing words to the substring, according to the lexicographic repeat
Printout of these
To Search:
File list (Check if you may need any files):
string
......\string.cpp
......\string.h
......\text.txt