Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QtCore/QTime>
- #include <iostream>
- int main ()
- {
- QTime time;
- time.setHMS(0, 1, 0);
- int seconds = QTime().secsTo(time);
- std::cout << seconds << std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement