I'm new to C++ (not much programming experience, except for have been trying to learn Ruby and before that KBasic (now Q7Basic I believe)) and of course this forum. I'm making a little stopwatch application with Qt (using Qt Creator 4.8). The functions are record a time, save times from different people in different XML files. And read the XML files later on to view the previously recorded times. With a dropdown menu you can select.
The first step is let a C++ program simply count seconds as stopwatch. Does any one know how to simply let a program count 1,2,3 etc. ?