Timing in C

This is a discussion on Timing in C within the C Programming forums, part of the General Programming Boards category; I am working on a project in C, where I have to build a game that loses after some amount ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    6

    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
    Posts
    6,231
    Can you explain a bit more about what you want, it's not very clear.

    Here's some info on working with times
    http://faq.cprogramming.com/cgi-bin/...&id=1043284392
    http://faq.cprogramming.com/cgi-bin/...&id=1043284392
    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
    Posts
    648
    Check out time.h.

  4. #4
    Intmainer
    Join Date
    May 2004
    Posts
    7
    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, 03:10 AM
  2. Performance Timing Function
    By rosicky2005 in forum C++ Programming
    Replies: 11
    Last Post: 05-31-2007, 04: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, 01:43 AM

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