CHAR:
ANSI string, which can be strcat (), strcpy (), strlen (), and other functions with str headers.
Wchar_t:
Wchar_t is the data type of Unicode characters. Its actual definition is: typedef unsigned short wchar_t;
Wchar_t can be used as a string processing function: wcscat (), wcscpy (), wcslen (), and other functions that are headers with WCS.
Wchar:
The header file has the following definition: typedef wchar_t wchar; therefore, wchar is actually wchar_t.
_ Unicode macros (with underscores) are provided in the C language, and Unicode macros (without underscores) are provided in windows. If _ Unicode macros and Unicode macros are specified, the system automatically switches to the Unicode version. Otherwise, the system compiles and runs in ANSI mode. Only macros are defined and cannot be automatically converted. It also requires support for a series of character definitions.
Tchar:
If a unicode macro is defined, tchar is defined as wchar_t. Typedef wchar_t tchar; otherwise, tchar is defined as char typedef char tchar;
Achar:
This type is defined by Autodesk in the adachar. h header file.
Wchar_t when ad_unicode is defined (Autodesk uses Unicode macros.