This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: wide streams and wide strings
On Mon, Mar 18, 2002 at 07:37:17AM -0600, Eric Ray wrote:
> #include <string>
> #include <iostream> // I think I should include this instead of
> wiostream
There is no <wiostream> header, so you are correct.
> //...
> wstring s;
> wcout << s << endl;
> //...
Did you try std::wcout?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams