Thursday, May 19, 2016
For CH10 Ex3
class temporary {
public:
void set(string, double, double);
void print();
double manipulate();
void get(string&, double&, double&);
void setDescription(string);
void setFirst(double);
void setSecond(double);
string getDescription() const;
double getFirst()const;
double getSecond()const;
temporary(string = "", double = 0.0, double = 0.0);
private:
string description;
double first;
double second;
};
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment