Thread: clock

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    1

    clock

    Using C++ for window programming , I would like to produce a clock that has following features:
    1. include modal and modaless dialog box, list box, radio button, scroll bar...etc
    2. the clock can be displayed real time (hour, minute, second, year, month, day and weekdays)
    3. the clock can display digital and analogue
    4.timer function likes start, lap, stop control(resolution of 0.1s or more), and up/down count option
    5.alarm function
    6. user-friendly GUI (self-explained)

    My questions are:
    1. Where I can find relevant souce codes that I can use for reference?
    2. what necessary and cool features I can add to my program?
    3. Where I can get the material for the GUI?

    thanks

    P.S. Forgive me, I am a newbie.

  2. #2
    Registered User Italia's Avatar
    Join Date
    Feb 2002
    Posts
    13
    Go read "Programming Windows 5th Edition" by Charles Petzold. Windows programming is one of those subjects that you don't just learn bit-by-bit. Read the book, and there's a whole chapter dedicated to "The Timer" which explains more than enough.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Logical Error in Clock program
    By SVXX in forum C++ Programming
    Replies: 0
    Last Post: 05-10-2009, 12:12 AM
  2. Outside influences on clock cycles? (clock_t)
    By rsgysel in forum C Programming
    Replies: 4
    Last Post: 01-08-2009, 06:15 PM
  3. Clock Troubles
    By _Nate_ in forum C Programming
    Replies: 22
    Last Post: 06-19-2008, 05:15 AM
  4. clock program
    By bazzano in forum C Programming
    Replies: 3
    Last Post: 03-30-2007, 10:12 PM
  5. System clock
    By bazzano in forum C Programming
    Replies: 10
    Last Post: 03-27-2007, 10:37 AM