I know of one example . The program here
http://www.cplusplus.com/articles/oGE1wA7f/
is written for windows and uses the SFML libraries for the graphics.
yes i read the article it's fine but it uses sfml libraries and does not open the source code , i thought this would be simple by implementing some function from ctime library but i guess not , stop watch can also be implemented by using a while loop and sleep function but it has some problems too