View Single Post
Old 04-19-2005, 10:55 PM   #1 (permalink)
357mag
Registered User
 
Join Date: Mar 2005
Posts: 15
357mag is on a distinguished road
Question about the output window

I picked up a copy of Microsoft Visual C++ 6 off of ebay. I want to start writing console programs so I started a new project and wrote my code and executed my program. This is what is output:

Welcome to C++! Press any key to continue

The "Press any key to continue" is what the compiler adds. Now my question is why is the message "Press any key to continue" displayed on the same line as the output? I actually would prefer it if that message was displayed on it's own line like:

Welcome to C++!
Press any key to continue

Is there any way to change that?
357mag is offline   Reply With Quote