Advertisement
GeeckoDev

commande.h

Jan 30th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. #ifndef COMMANDE_H
  2. #define COMMANDE_H
  3.  
  4. #include "produit.h"
  5. #include <string>
  6. #include <vector>
  7.  
  8. class Commande
  9. {
  10.     int sonNumero;
  11.     std::string sonJour;
  12.     double sonMontant;
  13.     std::string sonAdresseLivraison;
  14.     std::string saCarteBancaire;
  15.     std::vector<Produit*>* sonVectProduit;
  16.     std::vector<int>* sonVectQuantite;
  17. public:
  18.     Commande(int, std::string, std::string, std::string);
  19.     ~Commande();
  20.     void ajouterLigne(int uneQuantite, Produit* unProduit);
  21.     void afficher();
  22. };
  23.  
  24. #endif // COMMANDE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement