// // Entreprise.hpp // Entreprise // // Created by vlaurain on 06/03/2018. // Copyright © 2018 vlaurain. All rights reserved. // #ifndef Entreprise_hpp #define Entreprise_hpp #include "Vendeur.hpp" #include "Representant.hpp" #include "Interimaire.hpp" #include "Salarie.hpp" class Entreprise { //Le nom de l'entreprise : string nom; //les Vendeurs (5 au max...) Vendeur ven[5]; //les reprÈsentants (2 au max...) Representant rep[2]; //les techinciens (3 au max...) Salarie tech[3]; //les interimaires (5 au max...) Interimaire inte[5]; public : //le constructeur qui permet de crÈer une entreprise Entreprise(string,Vendeur[5],Representant[2],Salarie[3],Interimaire[5]); ~Entreprise(); void affiche() const; float cout_total(); }; #endif /* Entreprise_hpp */