cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Spacing
Spacing
Jan 29, 2012 at 2:09am UTC
gbrown
(1)
I am having trouble figuring out how to get a space between my output screen. I may have several lines of output, but would like some of them to have an empty space between them. Can someone help me with this issue? Thanks
Jan 29, 2012 at 2:31am UTC
vin
(300)
1
2
3
cout<<
"line...."
<<endl; cout<<endl<<endl;
//2 blank lines
cout<<
"line2.."
<<endl;
Jan 29, 2012 at 3:10am UTC
Nexius
(152)
using namespace std;
cout<<"\n\n";
cout<<endl<<endl;
Both produce the same result.
Topic archived. No new replies allowed.