I didnt know sarcasm was allowed outside Geek's Lounge :-)
Well getting back to the topic, there are some cases where u just cant stop the console window from disappearing without the use of system ("pause") (just wanted to let u know that i have read the disdvantages of system function provided in the above thread).
Take for example a prog. that has many exit (0) and exit (1) calls to duck out in case of some failure like mem. allocation failure. In this case the calls to getchar () and cin.get() placed at the end of the program just wont happen since the exit (int) has already taken place.
So other than system("pause") do you know any other way the console screen can be stopped?
Sorry but i didnt understand this solution since never worked with command line compilers. If poss can u elaboreate on this. Thanks a lot.
I'm not talking about the compiler, I'm talking about the executable. A console application run from a command shell does not have this issue. Done. And if you've got a GUI app, then this is moot anyway.
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...