SyntaxFix
Write A Post
Hire A Developer
Questions
str.c_str() gives you a const char *, which is an LPCSTR (Long Pointer to Constant STRing) -- means that it's a pointer to a 0 terminated string of characters. W means wide string (composed of wchar_t instead of char).
str.c_str()
const char *
LPCSTR
0
W
wchar_t
char