View difference between Paste ID: 1Bzxwb5g and W9nwXgk0
SHOW: | | - or go back to the newest paste.
1
class TGlass
2
{
3
  public:
4-
     TGlass(double Capacity);
4+
     TGlass(double capacity_cc);
5-
     void PourLiquid(double v);
5+
     void PourLiquid(double cc);
6-
     void Drink(double b);
6+
     void Drink(double cc);
7-
     double GetRemaining();
7+
     double GetRemaining(void);
8
  private:
9-
     int AmountX;
9+
     double _Amount;
10-
     int AmountY;
10+
     double _Capacity;
11
};