SHARE
TWEET

Untitled

a guest May 25th, 2019 71 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top