Compiler Warning (level 3) C4066
characters beyond first in wide-character constant ignored
The compiler processes only the first character of a wide-character constant.
// C4066.cpp
// compile with: /W3
#include <iostream>
int main()
{
wchar_t wc = L'AB'; // C4066
std::wcout << wc;
}
A
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for