stop watch

Can a stop watch be made in c++ , if yes any idea how its made and which libraries are to be used

closed account (D80DSL3A)
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
Topic archived. No new replies allowed.