Advertisement
Guest User

Untitled

a guest
May 10th, 2013
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <QtCore/QTime>
  2. #include <iostream>
  3.  
  4. int main ()
  5. {
  6. QTime time;
  7. time.setHMS(0, 1, 0);
  8. int seconds = QTime().secsTo(time);
  9. std::cout << seconds << std::endl;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement