Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool ajoute(Table & t, const Cle & c, const Attribut & a){
- Noeud * p = NoeudCle(t,c);
- if(p!=nullptr)
- return false;
- else{
- p = nouvNoeud(creationPaire(c,a),p);
- return true;
- }
- }
- //fichier.h :
- struct Liste{
- Noeud * tete;
- };
- typedef std::vector<Liste> Table;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement