<分区>
有什么区别
std::wcout << "some text" ;
和
std::wcout <<L "some text";
?
我找不到有关 L
用途的信息。
<分区>
有什么区别
std::wcout << "some text" ;
和
std::wcout <<L "some text";
?
我找不到有关 L
用途的信息。
最佳答案
L
不属于 wcout
,而是属于 string literal .
从上面链接的引用看
2) Wide string literal. The type of a L"..." string literal is
const wchar_t[]
关于c++ - wcout<<L 中的 L 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27838469/