E
ern
So I want to compare the longer wchar_t type to a char type, using
wcsstr and wcsstr.
With a raw string, I can use 'L' like so:
wcsstr((uint16_t *)wchar_String, L"regularCharString")
BUT... say I have:
char * reg = "regularCharString"
How would I call wcsstr using the reg variable? (Tried typecasting,
but that doesn't work.)
wcsstr and wcsstr.
With a raw string, I can use 'L' like so:
wcsstr((uint16_t *)wchar_String, L"regularCharString")
BUT... say I have:
char * reg = "regularCharString"
How would I call wcsstr using the reg variable? (Tried typecasting,
but that doesn't work.)