Advertisement
aperles

calse TVaso

Oct 5th, 2011
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. /**
  2.   @file vasos.h
  3.   @author Clase DSII 2011/2011
  4.   @brief Definition of TVaso
  5.  
  6.   Aço es per a generar la documentacio automaticament
  7. */
  8.  
  9. #ifndef TVASO
  10. #define TVASO
  11.  
  12. class TVaso
  13. {
  14. public:
  15.     TVaso(double capacidad); //constructor
  16.     ~TVaso(); //destructor
  17.  
  18.     void Beber (double valor);
  19.     void EcharLiquido (double valor);
  20.     double VerCuantoQueda (void);
  21.  
  22. private:
  23.     double capacidad_vaso;
  24.     double cantidad_liquido;
  25.  
  26. };
  27.  
  28.  
  29. #endif
  30.  
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement