commit
4ed46c421c
@ -40,7 +40,7 @@ public:
|
|||||||
cout << employ[i].name << " " << employ[i].salary << endl;
|
cout << employ[i].name << " " << employ[i].salary << endl;
|
||||||
}
|
}
|
||||||
~SalaryManaege() {
|
~SalaryManaege() {
|
||||||
delete employ;
|
delete[] employ;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
int main()
|
int main()
|
||||||
|
Loading…
Reference in New Issue
Block a user