Results 1 to 3 of 3

Thread: exiting in c++ after timed delay

  1. #1

    Thread Starter
    Lively Member fundean's Avatar
    Join Date
    Apr 2001
    Posts
    98

    exiting in c++ after timed delay

    hello,


    System("CLS") is not working on my station, and depending on the number of tries a person makes on a "guessing" game, I want the user to see a message for 5 seconds, then have the application close automatically.

    Thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: exiting in c++ after timed delay

    You specifically stated your station....what about other workstations?

    How are you using it?

  3. #3
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: exiting in c++ after timed delay

    If you're on a windows platform, you might want to have a look at this page.
    The methods you'd be using are SetTimer and KillTimer.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

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