im trying to figure out how to setw and setfill this
Interior back: 60.00000
This is a discussion on using setw and setfill within the C++ Programming forums, part of the General Programming Boards category; im trying to figure out how to setw and setfill this Interior back: 60.00000...
im trying to figure out how to setw and setfill this
Interior back: 60.00000
Example:
Code:#include <iostream> #include <iomanip> int main () { using namespace std; cout << setfill ('0') << setw (8) << "test"; cin.get (); return 0; }