How to determine a second has passed since debugging.

I have been reading and editing many functions I found online to practice but to me, it is very difficult concept to understand in c++.

I made progress to enough to know what my next plan is for my homework, which is
making a program that every exact seconds it elapsed since the start of the program, the program run into a loop within a function.

In summary, I would really appreciate a code where it shows every seconds that has passed continuously.
In <ctime> there is a function called clock(). It doesn't *exactly* do what you want, but it's prety close and will do what you want.
http://www.cplusplus.com/reference/ctime/clock/
thank you, I will read it over and give it a try tonight.

I will update if more help is desperately needed.
Topic archived. No new replies allowed.