Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   How to make timer in C (http://www.go4expert.com/forums/timer-c-t4936/)

otac 27Jun2007 14:33

How to make timer in C
 
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 1Oct2007 17:50

Re: How to make timer in C
 
You can use the sleep or delay function.......they take time as argument and wait for the time ya have entered as argument....


All times are GMT +5.5. The time now is 01:44.