Is there a way to set the character set to multi byte in code. By that I开发者_StackOverflow mean without going into the properties of the compiler and setting it. I mean it by, well...in code. :p
look at wcstombs() or perhaps WideCharToMultiByte()
There are #defines that control how things are compiled:
#define _MBCS
精彩评论