Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <iostream>
- class Timestamp
- {
- public:
- Timestamp();
- Timestamp(int seconds);
- Timestamp& Add(Timestamp& second);
- Timestamp& operator+(Timestamp& other);
- void Print() const;
- private:
- int m_Seconds;
- int m_Minutes;
- int m_Hours;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement