为什么字母L用来表示宽字符串? [英] Why is letter L used to indicate wide chars strings?
本文介绍了为什么字母L用来表示宽字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如:
wchar_t* str = L"hello";
为什么是L,没有其他字母?
Why "L" and no other letter?
推荐答案
MSDN声称它代表字符串 Literal ,即不应将输入的字符串翻译为任何其他
MSDN claim it stands for string Literal, ie the entered string should not be translated into anything else
这篇关于为什么字母L用来表示宽字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文