Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. bool ajoute(Table & t, const Cle & c, const Attribut & a){
  2. Noeud * p = NoeudCle(t,c);
  3. if(p!=nullptr)
  4. return false;
  5. else{
  6. p = nouvNoeud(creationPaire(c,a),p);
  7. return true;
  8. }
  9. }
  10.  
  11. //fichier.h :
  12.  
  13. struct Liste{
  14. Noeud * tete;
  15. };
  16.  
  17. typedef std::vector<Liste> Table;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement