command window wont stay put

when I run my program I cant get the command window to stay on screen long enough to read my results. How do I get the command window to stay put after I build and debug my code???
You could start by reading this post: http://cplusplus.com/forum/beginner/1988/

Please search around on the internet for solutions too your problems before you ask them here: this forum is a last resort. It's a waste of time and effort for the people answering questions too answer them multiple times.

Also, since you seem to have either not read or ignored this thread: http://cplusplus.com/forum/beginner/1/, please adhere too it.
try cin.get()
@ascii: i disagree. why is a forum a last resort? i search the internet as a last resort. i ask on this site so that i dont have to look around and waste time when someone could tell me in five minutes
yeah cin.get(); is an option.
i ask on this site so that i dont have to look around and waste time when someone could tell me in five minutes


Most threads take at least 30 minutes too get a response, while searching something on Google takes about 2 seconds. Answers too questions on this forum aren't just for the asker, they're for the many people who will read the answers to the question in years too come. It's both silly and selfish to ask a question when the answer is readily available to you. Do you think an expert in a subject likes answering the same questions over and over? They don't, and so they publish articles and books so that people can find the answers themselves without wasting the experts time. I don't claim too be an expert in programming, but what I just said applies both tp myself and everyone else who answers questions on this forum. I answer questions so that other people can find and read my answer and come up with their own solutions without having too ask me or anyone else.

Being able to solve your own problems through research is an important skill, and being able too find answers to basic questions like the one asked in this thread is a good first step towards attaining it. The questions answered on this forum are all reasonably basic. As people progress as programmers they will quickly pass a threshold where the members of this forum can no longer answer questions for them and they will need to be able to find answers for themselves by looking at questions other people have asked and piecing together a solution.

No question should ever need too be asked twice, and you learn far more through research and finding your own answers then you do from being handed a solution by someone else.
Aramil of Elixia wrote:
i search the internet as a last resort. i ask on this site so that i dont have to look around and waste time when someone could tell me in five minutes



Oh, that's charming.
So other people have to go through the problems of acquiring knowledge just
so you can be some sort of knowledge parasite?
first @ascii: http: //www.cplusplus.com/forum/general/77626/ how am i supposed to google search this?

second @guest: no i mean if i no ab and need to know cd and you know cd and want to know ab, thats not being a parasite
Run it through the command prompt. :-)
first @ascii: http: //www.cplusplus.com/forum/general/77626/ how am i supposed to google search this?


You can't. You don't seem to understand my point.
actually i do and i see what ur saying (i was tired and wasnt thinking when i posted that; i feel like an idiot) . that because i cant i should use this as a last resort.
Topic archived. No new replies allowed.