Timing in C

This is a discussion on Timing in C within the C Programming forums, part of the General Programming Boards category; Please somebody help me. I'm trying to use a timer function in Microsoft Visual C but don't know where to ...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    14

    Exclamation Timing in C

    Please somebody help me.

    I'm trying to use a timer function in Microsoft Visual C but don't know where to start or where to go.

    I want the program to paused for 2 seconds before continuing.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    sleep(2000);

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    14
    Thanks for that, but it says that an unresolved external has occured.

    Do I need an extra header file?

    I'm already using time.h

  4. #4
    Registered User
    Join Date
    Jan 2003
    Posts
    14
    Thanks mate.

    That works.

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