Bug 21199

Summary: setw ignored
Product: [Retired] Red Hat Linux Reporter: Need Real Name <ron>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-21 20:18:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***