|
-
July 31st, 2002, 02:32 AM
#1
how to convert type clock_t value to char
I am using the value clock_t in my C program, and the related function clock(). The problem is that I need to display the value of clock_t variables and I can only do it in charcter type as I am displaying it in openGL with my own custom function for displaying which only takes char type string. Please help me.
Secondly what type of a function can I use to delay execution for some time. I have tried to used sleep and delay and have added the header file DOS.H. But the compiler still doesnt recognize the calls to sleep() or delay(). My program is in c++.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|