I need a c function which return the time in:
hour min sec and mil sec
I am writing on unix os.
I need a c function which return the time in:
hour min sec and mil sec
I am writing on unix os.
See this thread which should get you on your way - and please read the rules (you should have searched before asking the question).
Try with usleep ( ) Standard C Library routine
You can also find all the time functions you want in the book
Learn C in 21 days Sum's publishing. Although, ive never used them so far, i found them quite helpful, having a huge variety of them!