#pragma once #include #include using namespace std; class MyString { private: char* str; public: MyString(); MyString(const char* value); MyString(const MyString&); ~MyString(); char* getString(); void set(const char* value); void print(); void update(); void writeToFile(); };