|
|
1.1 root 1: // exios104.cpp
2: // The fill member function
3: #include <iostream.h>
4:
5: void main()
6: {
7: double values[] = { 1.23, 35.36, 653.7, 4358.24 };
8: for( int i = 0; i < 4; i++ )
9: {
10: cout.width( 10 );
11: cout.fill( '*' );
12: cout << values[i] << endl;
13: }
14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.