wchar_t

From Just Solve the File Format Problem
Jump to: navigation, search
File Format
Name wchar_t
Ontology


C++ wchar_t is the character type that represents the largest character set that can potentially be used in the specific architecture. It is not simply due to the number of bits that a processor can operate on, but also on the native character set of the operating system. In Windows wchar_t will be 16 bits even on a 64 bit machine.

Character literal must use single quotes preceding with the letter L (For example L'貓'). In the event if the architecture cannot handle the specific character within a single wchar_t the result is implementation defined.

Other C++ data types storing symbols

  • char no less than 8 bits, one byte.
  • char16_t no less than 16 bits, no less than char
  • char32_t no less than 32 bits, no less than char16_t
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox