Advertisement
anthonimes

TP2---POO---Exo2

Nov 24th, 2020 (edited)
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. #ifndef ANNEAU_HPP
  2. #define ANNEAU_HPP
  3. #include <iostream>
  4. #include <list>
  5. #include "noeud.hpp"
  6. using namespace std;
  7.  
  8. class Anneau {
  9.     private:
  10.         list<Noeud> L;
  11.     public:
  12.         Anneau();
  13.         Anneau(list<Noeud> _L);
  14.         ~Anneau();
  15.            
  16.         list<Noeud>::iterator _prev(list<Noeud>::iterator &it);
  17.         void ronde();
  18.  
  19.         short majorite();              
  20.         list<Noeud> get_anneau();
  21. };              
  22. #endif  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement