How to use operator L on array? (C++, Visual Studio 2019)
问题 Part 2 on encoding characters in C++ (by User123). <- Go to the previous post. I was yesterday making some code, and Paul Sanders in this question told me useful solution: He told me not to use std::cout << "something"; but to use std::wcout << L"something"; . But I have another problem. Now I want to do something like this (some special characters, but in array): #include <iostream> using namespace std; string myArray[2] = { "łŁšđřžőšě", "×÷¤ßł§ř~ú" }; int main() { cout << myArray[0] << endl