OOP244_ms1_Time.h - #ifndef SDDS_TIME_H#define...

This preview shows page 1 out of 1 page.

#ifndef SDDS_TIME_H #define SDDS_TIME_H #include <iostream> namespace sdds { class Time { unsigned int m_min; public: Time& reset(); Time(unsigned int min = 0); std::ostream& write(std::ostream& ostr) const; std::istream& read(std::istream& istr); operator int()const; Time& operator *= (int val); Time& operator-=(const Time& D);

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture