John Bode
0
Q:

c++ formatting

cout << setw(10) << "ten" << "four" << "four" << '\n';
// Display ten       fourfour

cout << setfill('-') << setw(80) << "-" << '\n';
// Displays 80 "-"
0

New to Communities?

Join the community