Advertisement
aperles

Untitled

Feb 25th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     @file tglass.h
  3.     @brief definition of the TGlas class
  4. */
  5.  
  6. #ifndef tglass_H
  7. #define tglass_H
  8.  
  9. class TGlass
  10. {
  11.   public:
  12.      TGlass(double capacity_cc);
  13.      void PourLiquid(double cc);
  14.      void Drink(double cc);
  15.      double GetRemaining(void);
  16.   private:
  17.      double _amount;
  18.      double _capacity;
  19. };
  20.  
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement