12345678910111213141516171819202122232425262728293031323334 |
- #include "myString.h"
- #define stop __asm nop
- int main()
- {
- MyString s1("first");
- MyString s2("first");
- MyString s3("first");
- MyString s11("behavior");
- MyString s4("second");
- MyString s5("third");
- MyString s10("third&second");
- MyString s6("aaaaa");
- MyString s7("annoing");
- MyString s8(nullptr);
- MyString s9("annoing");
- MyString s12("zond");
-
- MyString::PrintAllStrings();
- std::cout << std::endl;
-
- MyString::ChangeRegister();
- MyString::PrintAllStrings();
- std::cout << std::endl;
- MyString str("SSSSS");
-
- MyString::PrintSortedStrings();
- stop
- return 0;
- }
|