Chronometer

This is a discussion on Chronometer within the Windows Programming forums, part of the Platform Specific Boards category; Hi, How can i make a Chronometer in C, i need to have 2 buttons start and stop and i ...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    3

    Chronometer

    Hi, How can i make a Chronometer in C, i need to have 2 buttons start and stop and i have to display the chronometer while is running on screen....


    Thanks....

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    What sort of printing on screen have you managed to master so far?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    3
    Im new on C, im using visual c++ to do this because my boss give me that task, i usually program in other tools like c#, vb .net but i have never used C++... i need to print the 00:00 on medium size screen and when i press start need to move the seconds on screen, i think that i can use a timer but i dont know if its a good idea.. and how can i clear and print the seconds...

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    Something like a WM_TIMER event may prove useful.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    3
    Thanks... i did it using Timer and WM_TIMER !!!

Popular pages Recent additions subscribe to a feed

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21