Can you tell me how to write a function which counts time..
or is there any pre defined function like that ?
Printable View
Can you tell me how to write a function which counts time..
or is there any pre defined function like that ?
Tell you what... rather than spend the next 30 days asking these questions and waiting for answers...
Why don't you crack a textbook and read up on the language... go through it page by page, do the exercises... learn C.
And yes there are lots ways of tracking time in C... Look them up in the library documentation that should have come with your compiler.