Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

C++ millisecond counter?


ghost's Avatar
0 0

Hello,

I am trying to make a class that has a "wait(int milliseconds)" method in C++. The problem is that ctime.h counts in seconds, but is there any way to have a time method that counts in milliseconds?

Any help would b e greatly appreciated! Cheers!