Thread: DOS command...

  1. #1
    Registered User |<4D4\/eR's Avatar
    Join Date
    Mar 2002
    Posts
    6

    Talking DOS command...

    Is it possible to change what it says when using this: system("pause");

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    12
    not that I know of.. you can pause the program in other ways tho:

    std::cout << "Press any key to continue...";
    getch(); //defined in <conio.h>

    or you could use
    std::cin.get(); //defined in <iostream>


    Edit: testing my sig..
    Last edited by Vlade; 04-04-2002 at 01:21 AM.

  3. #3
    Registered User |<4D4\/eR's Avatar
    Join Date
    Mar 2002
    Posts
    6
    sweet...thanx!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. Can I issue a command to DOS from within a program?
    By Sukarn in forum Windows Programming
    Replies: 2
    Last Post: 12-22-2006, 07:44 AM
  3. Executing DOS command in C
    By m.sudhakar in forum C Programming
    Replies: 3
    Last Post: 07-22-2006, 02:52 PM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  5. Command Line Variable Passing (like in DOS)
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 08-31-2002, 07:31 AM