Help

This is a discussion on Help within the C++ Programming forums, part of the General Programming Boards category; is it possible to make a program wait like so u can have a percent bar and have wait to ...

  1. #1
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    45

    Help

    is it possible to make a program wait like so u can have a percent bar and have wait to start or wait 2 seconds then do this

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>is it possible to make a program wait like so u can have a percent bar and have wait to start or wait 2 seconds then do this
    Sure, don't see why not.

    Nice thread title, btw.

    Do you have a more specific question? What type of app are you building, GUI or console, and what OS?
    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
    Dec 2001
    Posts
    479
    if you're writing a console u can use sleep() or _sleep() in msvc
    if ure using borland use delay()

    u just put the number in mseconds u want it to puase
    ie _sleep(300) is about 1 second so u should double that.

  4. #4
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    45
    Thx im new and havent programed in a while can u make a consolwe program launch int to full screen.

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    yes its possible

  6. #6
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    45
    Originally posted by pode
    yes its possible
    well if it is u should explain how!

  7. #7
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    There's plenty of sample code on here that does delays (sleep) and looping etc. There's even some code about that will force a WinConsole to full screen. Try a search and see what you can find.

    Once you get stuck on something specific, post your problematic code and someone will help.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  8. #8
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    45

    Angry

    is there a simple fulscr(); or something also the clrscr() didn't work for me a suggejtions

Popular pages Recent additions subscribe to a feed

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