// // Entreprise.cpp // Entreprise // // Created by vlaurain on 06/03/2018. // Copyright © 2018 vlaurain. All rights reserved. // #include "Entreprise.hpp" Entreprise::Entreprise(string nom,Vendeur v[5],Representant r[2],Salarie t[3],Interimaire in[5]) { this->nom=nom; //on recopie case par case le contenu des tableaux : for(int i=0;i<5;i++) this->inte[i]=in[i]; for(int i=0;i<2;i++) this->rep[i]=r[i]; for(int i=0;i<3;i++) this->tech[i]=t[i]; for(int i=0;i<5;i++) this->ven[i]=v[i]; } Entreprise::~Entreprise() { cout << "Entreprise suprimee.."<< endl; } void Entreprise::affiche() const { cout<< "Interimaires:"<