Re: [Dev-C++] using wcout and wofstream
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel K. O. <dan...@ya...> - 2005-11-28 16:20:38
|
Noorez Kassam wrote: > I was wondering how I could use the wofstream and wcout. I looked in > the iostream include file and wcout was there but i couldn't use it. I > was able to use the function fputwc() to write out the wchar_t to a > file, but I couldn't read it in properly. What function could i use to > read in a wchar_t? It seems like fgetwc() doesn't work... wstreams aren't supported by libstdc++. This was asked a few hours ago on MinGW-users list. See: http://sourceforge.net/mailarchive/forum.php?thread_id=9080137&forum_id=5119 http://sourceforge.net/mailarchive/forum.php?thread_id=9080676&forum_id=5119 Quotes: ---- wide IO streams are not supported because configure does not find sufficient locale support." ---- You are not bound to stdlibc++. STLPort 5.0 works pretty well with mingw and fully supports wchar_t. You may download it from http://sourceforge.net/project/showfiles.php?group_id=146814 http://sourceforge.net/forum/forum.php?forum_id=508500 ---- --- Daniel K. O. _______________________________________________________ Faça do Yahoo! sua página inicial. http://br.yahoo.com/homepageset.html |