Thread: i want to make a clock

  1. #16
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    >can u tell me what this does

    I could but MSDN does a better job than I could.

  2. #17
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    It is windows programming.

  3. #18
    Registered User
    Join Date
    Aug 2001
    Posts
    13

    Standard Time functions

    ~Silencer~
    What is this "C.O.D.E." you speak of?

  4. #19
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    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.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  5. #20
    Unregistered
    Guest
    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

  6. #21
    Unregistered
    Guest
    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.

  7. #22
    Unregistered
    Guest
    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.

  8. #23
    Unregistered
    Guest
    man you are really stupid u know that

    so my advice to u would be challenge yourself

    lol
    get it?

  9. #24
    Unregistered
    Guest
    so what have u got to say now then

    idiot
    lol

  10. #25
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    And just how did you make a clock without using the system? Enlighten me.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  11. #26
    Ryce
    Guest
    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.

  12. #27
    Unregistered
    Guest
    look at the beginning of the thread it's not my work but it shows that it's possible

  13. #28
    Ryce
    Guest
    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.

  14. #29
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    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.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  15. #30
    Registered User
    Join Date
    Aug 2001
    Posts
    47
    Use winsock and connect to a time server?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trying to make a KenGen ( for a game tool )
    By lonewolfy in forum C# Programming
    Replies: 4
    Last Post: 03-28-2007, 08:23 AM
  2. Win32 Common Controls in C++, how do i make and use them?
    By C+noob in forum Windows Programming
    Replies: 6
    Last Post: 01-09-2006, 11:53 AM
  3. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM
  4. Question about atheists
    By gcn_zelda in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 08-11-2003, 11:50 AM
  5. 'functions' in make?
    By mart_man00 in forum C Programming
    Replies: 1
    Last Post: 06-21-2003, 02:16 PM