Hi,
I am tring to implement a time class as follows:
class HMS{
public:
// constructors
// accessors
// modifiers
HMS add (const HMS & x, const HMS & y);
HMS subtract (const HMS & x, const HMS & y);
private:
// private variables / methods
int hrs;
int mins;
int secs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.