I am sort of new to C++ and I got troubles understanding the usage of the data types fully.
I have these variables to be applied to createwindow parameters and the class with it. That takes an LPCWSTR data type.
LPCWSTR szTitle = L"Hello";
LPCWSTR szWindowClass = L"There";
Therefore I did that, although, I don't understand why I have to include the L before the string (the debugger put it there to be honest). I have also not too often seen strings be defined as the direct types (instead I often see WCHAR,char, etc). If you would make these variables, how would you write them? I don't believe I should be using LPCWSTR. Again sorry, I am fairly new and I can't find exactly what I'm looking for online.