using system("pause");

This is a discussion on using system("pause"); within the C++ Programming forums, part of the General Programming Boards category; do u have a voice compiler mr?...

  1. #16
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    do u have a voice compiler mr?

  2. #17
    Registered User
    Join Date
    Apr 2002
    Posts
    10
    I have Microsoft Visual C++ professional. And it works fine without the #include <stdlib.h>. What part would that be needed for?

  3. #18
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >And it works fine without the #include <stdlib.h>.
    iostream includes stdlib in MSVC++, so you don't need to worry about it.

    -Prelude
    My best code is written with the delete key.

  4. #19
    Registered User
    Join Date
    Apr 2002
    Posts
    10
    Well I guess thats why I never included it! Might I suggest that someone change the FAQ page to reflect the use of << endl; so others who read it and don't put it in and get the same resaults would know. It's just a suggestion. Well thank you all again it has been a nice learning experiance, and I hope to one day help others who need it here too!

Page 2 of 2 FirstFirst 12
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