I am using an old computer science book to work on C++ (old as in from 2000). The book was written mostly for use with CodeWarrior and Borland. When I enter the example programs from the book into my compiler (Dev-C++), I find that I have to use cin.ignore() and cin.get() to keep the console window open so that I can see the results of my programs (I got this suggestion from one of the tutorials on the site). I specifically remember that a few years ago when I used CodeWarrior I did not have to do this. Is this an issue that only happens in Dev-C++ or does it happen in other compilers and IDE's as well? Thanks![]()



LinkBack URL
About LinkBacks




I guess I'll just make sure I develop the habit of leaving those lines in, just to make my code more portable