Thread: Wide characters
View Single Post
Old Dec 4th, 2007, 4:02 PM   #3
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Wide characters

wide characters are used in UNICODE programs, which are programs written for most any language such as Chinese, Japanese, German, Frensh, etc. etc. Many characters in non-English languages can't be represented in one char data type. There is actually a UNICODE standard which specify the width of a UNICODE character and functions to manipulate them, and convert from char* to wchar_t*. The Microsoft compilers have a large set of macros to convert function calls between UNICODE and non-UNICODE compiles. If you use these macros you can compile with or without UNICODE with nearly no changes in the source code.
Ancient Dragon is offline   Reply With Quote