I'm a member now

This is a discussion on I'm a member now within the Game Programming forums, part of the General Programming Boards category; Can some one tell me two things: How to make a text input like in a MUD, And how to ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    2

    Talking I'm a member now

    Can some one tell me two things: How to make a text input like in a MUD, And how to make a DOS program not xit when it goes through the code. Thanks

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    39
    When you say no exit when it runs thru the code, do you mean the window closes too fast to see the output?


    If you use C, put a scanf at the end that waits for you to hit a key, and flush it out...
    Its all in your mind...

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    7

    Lightbulb Or..

    or you can use a system("PAUSE"); with the stdlib.h, or getch(); with the conio.h

    Mike

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    95
    system() functions need stdlib.h? I didn't know that, are you sure?
    Think out of the box! Open Source rules!

    -Breach23

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Replies: 2
    Last Post: 04-19-2008, 12:06 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  5. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM

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