i wnat to make a clock that doesn't depend on the
computer time or anything like that
what i mean is that i want to make a "handmade" clock.
i made a loop like this:
for(int sec=0;sec<60;sec++
{
_sleep(3000);
cout<<sec;
}
i know it's wrong way but i think my brain has stopped working...
u know the right way to write the code?
please help if u do.