I have this timer. can someone help me with the laps? when ENTER KEY is pressed it will display laps.
[/#include <iostream>
#include <windows.h>
#include <conio.h>
using namespace std;
void gotoxy(short x, short y) {
COORD pos = {x, y};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);}
int main () {
int a,b=0,c=0,;
for (a=0;a<=59;a++){
gotoxy(38,5);
cout<<c<<":"<<b<<":"<<a;
if (a==59){
a=0;
b++;
if (b==59){
b=0;
c++;
}
}
}
system("PAUSE");
return 0;
}
]