C++ standard Library

Thomas Leuxner thomas.leuxner@addcom.de
Tue May 29 06:41:00 GMT 2001


Hi,
i've read that the C++ standard library is not (yet) fully compliant. I'm 
having trouble using a statement with G++ which works under C++ Builder. Two 
strings should be formatted for output.

cout << setw(50) << left << EMailAddress << UserAccount <<endl;
works fine on othe compilers, but

cout << setw(50) << ios::left << EMailAddress << UserAccount <<endl;
produces a different output with nonsense characters.

Is there another way to do it on G++/workaround?

Thanks
Thomas



More information about the Gcc mailing list