Merge pull request #160 from pwjworks/patch-1

Update 中括号重载.cpp
This commit is contained in:
Francis 2022-04-10 16:39:06 +08:00 committed by GitHub
commit 4ed46c421c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ public:
cout << employ[i].name << " " << employ[i].salary << endl;
}
~SalaryManaege() {
delete employ;
delete[] employ;
}
};
int main()