What is the difference between 'WCHAR' and 'wchar_t'?

后端 未结 5 828
执笔经年
执笔经年 2021-02-05 06:22

Is there any practical difference between WCHAR and wchar_t?

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-05 07:10

    typedef wchar_t WCHAR; // wc, 16-bit UNICODE character

    this is defined in winnt.h.So originally it is wchar_t WCHAR is abbrivation to it .You can used wcscat,wcslen etc. functions for both

提交回复
热议问题