Hi, this small program doesn't seem to work properly with egcs. I was wondering if this is a kwown bug/problem or if I am just doing something *very* stupid:
#include <iostream.h> #include <iomanip.h> main() { cout.fill(' '); for(float i=0;i<10;i+=0.1) cout << setprecision(2) << setw(5) << i << endl; } Output: [EMAIL PROTECTED]@[EMAIL PROTECTED]@0 [EMAIL PROTECTED]@0.1 [EMAIL PROTECTED]@0.2 [EMAIL PROTECTED]@0.3 [EMAIL PROTECTED]@0.4 [EMAIL PROTECTED]@0.5 [EMAIL PROTECTED]@0.6 [EMAIL PROTECTED]@0.7 [EMAIL PROTECTED]@0.8 [EMAIL PROTECTED]@0.9 [EMAIL PROTECTED]@[EMAIL PROTECTED]@1 [EMAIL PROTECTED]@1.1 [EMAIL PROTECTED]@1.2 ... AFAIK, there should be no "^@" in the output but spaces. This works OK. with the old gcc. Thanks, Luis. -- Luis Francisco Gonzalez <[EMAIL PROTECTED]> PGP Fingerprint = F8 B1 13 DE 22 22 94 A1 14 BE 95 8E 49 39 78 76 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .