type_def.h 495 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef TYPE_DEF_H_INCLUDED
  2. #define TYPE_DEF_H_INCLUDED
  3. #include <string>
  4. struct Personne
  5. {
  6. std::string nom;
  7. std::string prenom;
  8. std::string num;
  9. };
  10. typedef Personne vectPersonne[10000];
  11. struct ElementListe
  12. {
  13. Personne valeur;
  14. ElementListe* precedent;
  15. ElementListe* suivant;
  16. };
  17. struct Noeud
  18. {
  19. Personne valeur;
  20. Noeud* filsGauche;
  21. Noeud* filsDroit;
  22. };
  23. const int MAXPERSONNES = 15000;
  24. typedef std::string vectNom[MAXPERSONNES];
  25. #endif // TYPE_DEF_H_INCLUDED