> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of w.y.
> Sent: Saturday, August 23, 2003 10:33 AM
> To: dev...@li...
> Subject: Re: [Dev-C++] Wide chars
>
>
>
>
> Daniel Glenfield wrote:
> >
> > do you not just include <wchar.h> ?
>
> That or <cwchar> will allow me to use the C functions
> wscanf, wprintf etc. I was able to try that out by changing
> the "Language to use for non-Unicode programs" option to Japanese
> so the console window would display/accept wide chars.
>
> But I am curious about how to get the C++ stuff (wstring, wcin, wcout,
> ...)
> to work. It seems to be partially controlled by _GLIBCPP_USE_WCHAR_T
> being defined, but if I define it myself it still doesn't work.
As far as I know MINGW compiler that Dev-C++ so far uses, does not provide
wcout yet (and perhaps other wchar_t facilities). You can use wprintf()
instead.
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
|