Lap timer help 😭😭

I have a project. The problem is make a timer. When the user hit enter key, the program will display a lap. Help anyone 😭
I'm a beginner.

I have my timer but don't know how to display the laps.

this is my timer:
int a,b,c,d;

for (a=0;a<=59;a++){
for (b=0;b<=59;b++){
for (c=0;c<=59;c++){
for (d=0;d<=59;d++){
cout<<a<<":"<<b<<":"<<c<<":"<<d;}}}}

help please.
closed account (48T7M4Gy)
Please don't make multiple posts.
Topic archived. No new replies allowed.