+ 2
What is the difference between Wide Character and character in C++?
3 Answers
+ 8
https://www.geeksforgeeks.org/wide-char-and-library-functions-in-c/amp/#aoh=16024111985212&referrer=https://www.google.com
This may helps you to understand better
+ 6
char is used for so called ANSI family of functions (typically function name ends with A), or more commonly known as using ASCII character set.
wchar_t is used for new so called Unicode (or Wide) family of functions (typically function name ends with W), which use UTF-16 character set. It is very similar to UCS-2, but not quite it. If character requires more than 2 bytes, it will be converted into 2 composite codepoints, and this can be very confusing.
0
It will much easier if you give example of wchar_t