How to make timer in C

otac's Avatar, Join Date: Jun 2007
Newbie Member
Hello everyone,

This is my first post on this forum. What I would like to know is it possible to make some kind of a timer in C so that I can call a function periodicly. Maybe somethin with time_t or something else. If anybody has any examples it would be wellcomed.

Thanx
An007kit's Avatar, Join Date: Oct 2007
Go4Expert Member
You can use the sleep or delay function.......they take time as argument and wait for the time ya have entered as argument....