How to add wide string prefix to C-style string (in C++)?

75 Views Asked by At

How do I add the wide string prefix to a C-style string (in C++)?

I've seen the L added to literals:

L"Hello";

But given:

const char cs[] = "Hello";

neither L(cs); nor (L)cs; works. What is the correct way to express it?

0

There are 0 best solutions below