Making text scroll out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ledzepfan32
    New Member
    • Sep 2006
    • 13

    #1

    Making text scroll out

    This seems easy, but I am having trouble anyways. How can I make text appear letter by letter and scroll out using c++? I am working on a program, but just to add some flare i would like to do this instead of just cout<<xxx. I think printf() should be used, but do not know. Thanks, -Brad
  • ledzepfan32
    New Member
    • Sep 2006
    • 13

    #2
    anyone? TIA

    Comment

    • ledzepfan32
      New Member
      • Sep 2006
      • 13

      #3
      is this an unreasonable thing to do? is that the reason for no responses?

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        ledzepfan32-

        It's iffy because of the implementation. It's only available in Win32 (I believe through dos.h), unless you get a custom C library for *nix - so this program won't be able to be taken to another system without that library.

        If you want to do the <dos.h>, then I think the commands are sleep() or delay().

        (The system(pause) command won't be good for character output unless you want the user to have to hit a key to see each new char)

        Comment

        Working...