• 2022-06-08
    完成下面类中成员函数的定义。#include [iostream] #include [string] using namespace std; class str {private: char *st; public: str(char *a) {set(a); } str & operator=(str &a) {delete st; set(a.st); return *this; } void show(){cout<