Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Tempo.h"
- int main()
- {
- Tempo t0;
- std::cout << t0 << std::endl;
- Tempo t1(10, 10, 33);
- std::cout << t1 << std::endl;
- std::cout << t1.inSecondi() << std::endl;
- Tempo t2(47757);
- std::cout << t2 << std::endl;
- Tempo t3 = t2 - t1;
- std::cout << t3 << std::endl;
- Tempo t4 = t2 + t1;
- std::cout << t4 << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement