CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: delay

  1. #1
    Join Date
    Feb 2005
    Posts
    176

    delay

    hey i want my application to wait for a period of time..... lets say 2 secs.

    my tutor said there is a function called delay()..... and that i have to #include <conio.h>

    This function is not there!!!!
    Any ideas how i can get this function and use it?

    Thanks

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: delay

    What code are you writting? C/C++? Windows, Linux? Microsoft, Borland? what?

    Use Sleep().
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Feb 2005
    Posts
    176

    Re: delay

    using Microsoft Visual Studio C++

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured