C++ standard Library

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Tue May 29 07:13:00 GMT 2001


Thomas Leuxner <thomas.leuxner@addcom.de> writes:

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

It is hard to tell anything about your problem if you don't submit a
full bug-report.  FYI, there is nothing standard named std::ios.

-- Gaby



More information about the Gcc mailing list