Does anyone have a clue how to use wcout with Code::Blocks? I've tried including iostream, saying extern wostream wcout, everything I've seen suggested, nothing worked. Any ideas
Printable View
Does anyone have a clue how to use wcout with Code::Blocks? I've tried including iostream, saying extern wostream wcout, everything I've seen suggested, nothing worked. Any ideas
Does the compiler say it is undeclared? I gather code::blocks uses the same compiler as Dev, so if you were able to use it on mingw then it should in theory work on code::blocks too.
You might have more luck in the cb website.
MinGW (assuming that's the compiler your using) currently has very little wide character support - std::wstring is about its full extent.
The solution is to use a third party library which does, such as stlport.
Does boost have anything (and yes, I'm using MinGW, on Win XP)?
No, Boost has nothing. It expects a proper standard library.
Again: the answer is STLPort.