>can u tell me what this does
I could but MSDN does a better job than I could.
Printable View
>can u tell me what this does
I could but MSDN does a better job than I could.
It is windows programming.
<time.h>
go here...
http://www.cplusplus.com/ref/#libs
I can't believe you're asking this again.
Get a programming book and read it. You need major help. This question has been answered in multiple ways and you're still not happy. Maybe it's time you look into doing something else. How about starting with the hello world program? When you get that working then move onto something more complicated.
I'm sorry but I've lost my patience with you.
hey dumbass were u not one of those people who said that making a clock was impossible whithout rellying on the system time yes i remember.
hate smartasses like that
by the way it's pode
heres one of ure posts
///////////////////////////////////////////////////////////////////
:: shakes head ::
This again?
What exactly are you trying to do? And why do you refuse to use the functions in time.h?
I guess I fail to see how you're going to make a "clock" without relying on the system at some point to keep it consistent.
and a nother
/////////////////////////////////////////
#include <windows.h>
Then you can use Sleep(1000);
Here's the prototype:
VOID Sleep(DWORD dwMilliseconds)
But that still relies on the system clock.
__________________
-Challenge stupidity.
man you are really stupid u know that
so my advice to u would be challenge yourself
lol
get it?
so what have u got to say now then
idiot
lol
And just how did you make a clock without using the system? Enlighten me.
GL with a clock with out useing system time thats a bit hardcore for me to help u.
how is ur clock supposed to get the correct time to start out with? it cant just look on ur wall and find out thats why the system is neccisary, it keeps track of your time. I guess you could make it look online but that would be a crapy clock. good luck.
look at the beginning of the thread it's not my work but it shows that it's possible
oookkk.
i thought u wanted a real clock where like they open the program and bam the time.
that one takes input and increases it based on the seconds.
I assume you mean the post using the Sleep() function. Sleep() relies on the system clock to wait at least the amount of milliseconds passed to it (meaning it could take longer making a not so efficient clock). From your quotes of mine, that suggestion wasn't good enough for you before. So again I ask, how do you make a clock without using the system? I'm very curious.
Use winsock and connect to a time server?