Hacker News new | ask | show | jobs
by righttoolforjob 1512 days ago
Good that you started then! I can give you two small pieces of feedback:

- use the _s variants of the string manipulations, since they are safer and protect against buffer overflows, e.g sprintf_s

- perhaps poll more often, but only print when there is a change in the output, e.g. maybe poll every 10 ms and print whenever it passes 1 second