Annotation of mstools/samples/iostutor/exios103.cpp, revision 1.1.1.1

1.1       root        1: // exios103.cpp
                      2: // The width member function
                      3: #include <iostream.h>
                      4: #include <iomanip.h>
                      5: 
                      6: void main()
                      7: {
                      8:    double values[] = { 1.23, 35.36, 653.7, 4358.24 };
                      9:    char *names[] = { "Zoot", "Jimmy", "Al", "Stan" };
                     10:    for( int i = 0; i < 4; i++ )
                     11:       cout << setw( 6 )  << names[i]
                     12:            << setw( 10 ) << values[i] << endl;
                     13: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.