Hello there, do you have any idea of what is the corresponding standard lib function of Win32's WideCharToMultiByte()? Thanks!
jaepi
22
Practically a Master Poster
Recommended Answers
Jump to Post>> what is the corresponding standard lib function of Win32's WideCharToMultiByte()?
there are two options available; use the ctype<> facet or the codecvt<> facet. the following example uses ctype<> for conversion.#include <locale> #include <iostream> #include <string> #include <sstream> using namespace std ; wstring widen( const string& …
All 3 Replies
jaepi
22
Practically a Master Poster
vijayan121
1,152
Posting Virtuoso
jaepi
22
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.