Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login
Site Notices
10/20/2017 1:01:18 AM
9/22/2017 12:11:25 AM
Posted: 8/16/2005 7:44:44 AM EDT
Anyone know how to insert a blank line in the output for a console app in C++?
Link Posted: 8/16/2005 7:47:47 AM EDT
My C++ is a little rusty but did you try

cout << endl;

alternatively the C way, something like this might work:

printf("\n");

I might be way off on this because haven't touched C/C++ in a long time
Link Posted: 8/16/2005 7:56:51 AM EDT
Thank ya.

cout << endl; worked.

I tried a couple variations of that but not that specific code. Thanks.
Top Top