Horje
c++ formatting Code Example
c++ formatting
cout << setw(10) << "ten" << "four" << "four" << '\n';
// Display ten       fourfour

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




Cpp

Related
what is c++ function Code Example what is c++ function Code Example
c++ preprocessor commands Code Example c++ preprocessor commands Code Example
operator overloading in c++ Code Example operator overloading in c++ Code Example
struct constructor in c++ Code Example struct constructor in c++ Code Example
inheritance Code Example inheritance Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12