Bug 21199 - setw ignored
Summary: setw ignored
Keywords:
Status: CLOSED DUPLICATE of bug 18861
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-21 20:18 UTC by Need Real Name
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-11-21 20:18:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-11-21 20:18:37 UTC
#include <iomanip>
#include <iostream>

int main ()

{
  cout << setw (9) << 1.0 << setw (9) << 2.0 << endl;
}

...outputs:
12

...instead of:
        1        2

Comment 1 Jakub Jelinek 2000-11-21 20:44:05 UTC

*** This bug has been marked as a duplicate of 18861 ***


Note You need to log in before you can comment on or make changes to this bug.