comparison src/oct-stream.cc @ 3013:66a1cede95e7

[project @ 1997-06-02 19:35:05 by jwe]
author jwe
date Mon, 02 Jun 1997 19:41:17 +0000
parents 66ef74ee5d9f
children 0d640dc625c7
comparison
equal deleted inserted replaced
3012:0ea30e0e86cc 3013:66a1cede95e7
2637 string arch = 2637 string arch =
2638 oct_mach_info::float_format_as_string (os->float_format ()); 2638 oct_mach_info::float_format_as_string (os->float_format ());
2639 2639
2640 string name = os->name (); 2640 string name = os->name ();
2641 2641
2642 buf.form (" %4d %-3s %-9s %s\n", 2642 buf << " "
2643 i, mode.c_str (), arch.c_str (), name.c_str ()); 2643 << setiosflags (ios::right)
2644 << setw (4) << i << " "
2645 << setiosflags (ios::left)
2646 << setw (3) << mode.c_str () << " "
2647 << setw (9) << arch.c_str () << " "
2648 << name << "\n";
2644 } 2649 }
2645 } 2650 }
2646 2651
2647 buf << "\n" << ends; 2652 buf << "\n" << ends;
2648 2653