Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include "Timestamp.h"
  2.  
  3. int main()
  4. {
  5.     Timestamp time1(4200), time2(1200), time3;
  6.  
  7.     time1.Print();
  8.  
  9.     std::cout << std::endl;
  10.  
  11.     time2.Print();
  12.  
  13.     time3 = time1 + time2;
  14.  
  15.     std::cout << std::endl;
  16.  
  17.     time3.Print();
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement