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

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

Is there any practical difference between WCHAR and wchar_t?

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-05 07:10

    Well, one practical difference would be that WCHAR doesn't exist on my platform. For Windows only (and with no intention of ever porting the program to another platform) and with the necessary headers included, it's the same (since WCHAR is just a typedef).

提交回复
热议问题