Guest User

Untitled

a guest
May 25th, 2019
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Companie::Companie() {
  2. for (int i = 0; i < 10; i++) {
  3. angajati[i] = NULL;
  4. }
  5. }
  6.  
  7. Companie::~Companie() {
  8. for (int i = 0; i < 10; i++) {
  9. if (angajati[i] != NULL) {
  10. delete angajati[i];
  11. }
  12. }
  13. }
RAW Paste Data