program window closes immediately

Posted 30 April 2010 - 12:31 PM

Hi, I'm trying to finish up some homework but I've hit a snag. The code I have seems to compile properly, no errors or anything, but the output window closes immediately. I don't get the chance to actually input anything. Here's what I have

Re: program window closes immediately

Re: program window closes immediately

Posted 30 April 2010 - 07:36 PM

Quote

Do you not know the result of using return? Better go read your book/notes.

Thank you for all the insight and wisdom Mr. Amazing Programmer Guy! I understand you are an expert, apparently, in "Being annoyed with lazy people" but I'm not being lazy. I'm just looking for a little help from people who obviously have more experience/savvy with c++ programming.

Re: program window closes immediately

Posted 30 April 2010 - 07:50 PM

You know, I'm not amazing, not even close, and I would actually be the very last person to ever contend that is the case. There are many people far, far above my level here, dispensing valuable advice throughout the forums.

However, I don't suffer fools gladly, and those that are too lazy to read when given hints as to what their problem is qualify as fools in my book. Go do some research on your own, instead of expecting the people with experience to spoon-feed you the answers to your homework. That's not how people learn.