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
Aligning Output
Aligning Output
May 11, 2014 at 9:54pm UTC
coolcat3
(9)
How would I align the output of a program?
Just centering this.
cout <<
"Hello World!"
<<endl;
May 12, 2014 at 10:24am UTC
anmol2701
(43)
Use setw
follow the following link
http://www.cplusplus.com/reference/iomanip/setw/
Topic archived. No new replies allowed.