C++ examples for File Stream:cout
What is the output of program, cout.setfill
#include <iostream> #include <iomanip> using namespace std; int main(int argc, const char *argv[]) { cout << setw( 10 ) << setfill( '$' ) << 10000; return 0;/*from w w w. j a v a2 s . c om*/ }