whchar_t and unicode? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

whchar_t and unicode?

Hey guys I'm having trouble understanding what these two things mean. I know there are different kinds of char data types, but what are the differences and why should we use them, specifically whchar_t? and what is unicode? I'd appreciate the answers, thanks!

25th Jan 2017, 8:36 AM
Blood
Blood - avatar
1 Answer
0
if you're using visual studio c++ or compiling on windows there is a problem for the compiler to manage both types so its preferrably to use wchar_t instead of char or you gonna watch many chinese caracters appear on your screen such as compiling win32 code with unicode preprocessor.
30th Jan 2017, 5:59 PM
Oussama Jaaouani
Oussama Jaaouani - avatar