Thread: Timing in C

  1. #1
    Registered User
    Join Date
    Mar 2004

    Timing in C

    I am working on a project in C, where I have to build a game that loses after some amount of time. Is there a way to do that?

    Thanks a lot.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Can you explain a bit more about what you want, it's not very clear.

    Here's some info on working with times
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Jan 2003
    Check out time.h.

  4. #4
    Join Date
    May 2004
    Yeh, I was going to say that too, I thing dos.h has something for that too...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Timing basic operations in C++
    By StevenGarcia in forum C++ Programming
    Replies: 9
    Last Post: 09-18-2007, 02:10 AM
  2. Performance Timing Function
    By rosicky2005 in forum C++ Programming
    Replies: 11
    Last Post: 05-31-2007, 03:09 PM
  3. My Timing System
    By jmd15 in forum Windows Programming
    Replies: 4
    Last Post: 01-01-2006, 11:43 PM
  4. Games - timing
    By Magos in forum Game Programming
    Replies: 7
    Last Post: 03-06-2004, 11:32 AM
  5. Timing in Windows
    By steinberg in forum Windows Programming
    Replies: 3
    Last Post: 07-14-2002, 12:43 AM