R
[rob desbois]
Hi all,
I've just discovered that when outputting a string in combination with
the I/O manipulator setw(n), it doesn't affect the string. Instead the
string's c_str() method must be called for setw() to work.
I initially thought it was a bug in my implementation, but apparently
not.
Can anyone inform me why this is?
TIA,
--rob
I've just discovered that when outputting a string in combination with
the I/O manipulator setw(n), it doesn't affect the string. Instead the
string's c_str() method must be called for setw() to work.
I initially thought it was a bug in my implementation, but apparently
not.
Can anyone inform me why this is?
TIA,
--rob