This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

C++ standard Library


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]