Use the source code of the multimedia timer in VC++, which has the same function as a stopwatch. After you click to set the timer, it will start working. Of course, the example itself has no value, but the core code can be used flexibly, especially if you are just learning VC. friends, more useful to you