View Full Version : Timer in C
boris
05-15-2004, 10:49 PM
In C, how would I implement a timer, to time an operation to be performed?
Antoniohawk
05-16-2004, 07:46 AM
Try starting here: [http://www.cplusplus.com/ref/]
whackaxe
05-16-2004, 08:52 AM
get the time before the operation using time() get the time after, get the difference
boris
05-16-2004, 09:15 AM
thanks. that site is great. its just what i was looking for
Antoniohawk
05-17-2004, 12:11 AM
Glad to be of service. By the way, I have never programmed a line in C before. My good ol' buddy google helped me out. :)
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.