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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

wide streams and wide strings


I've downloaded and built gcc-core-3.0.4 and gcc-g++-3.0.4 as I was informed on the gcc mailing list that this version supported wide strings and wide streams (I was previously using 2.95.3).  After compiling and running this simple test I've found out two things.
 
#include <string>
#include <iostream>  // I think I should include this instead of wiostream
//...
wstring s;
wcout << s << endl;
//...
 
1. The compiler doesn't complain about wstring so I'm assuming I have wide string support.
 
2.  The compiler gives and error on wcout.
 
The error I get is this:
 
'wcout' undeclared (first use this function)
 
 
Can anyone shed some light on what I'm doing wrong?

Eric Ray
Software Developer
ZixIt Corporation

214.370.2089
eray@zixit.com

To send email secure and certified, Just ZixIt!™
zixmail™ is the most convenient way to add security to your email. If you would like to add privacy, security and certified receipts to your email, download zixmail™ from <http://www.zixmail.com>.

 

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