By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

c++

P: 1
differnce between wchar_t and char in C++
Apr 21 '06 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
char is the normal narrow (8 bit, 1 byte) character most often used in writing programs.

wchar_t is a wide or muti-byte character type (16 bits, 2 bytes) used when the 256 characters of ASCII are not enough (usually when dealing with non-English languages like Kanji).
Apr 21 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.