I am missing the last one, I was hoping the update may fix this. Any other ideas? I do have a copy of Metrowerks Codewarrior 5, but it's slightly different.
You star It's all working and hoo.exe ran but the window closed before I could see hello world .
Any line of code i should add to get a 'press any button to continue'?
Thank you ever so much, I am really looking forward to programming in C++ now, my first compiled language
The answer is in the previous posts. Dev-c++ will close the console window as soon as the program terminates, so all you have to do is out in a command that stops it from terminating until you're ready. Simplest is just:
cin.get();
This will wait for you to press enter. In some instances you may want to add the following:
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.