Assume I have the following:
wchar_t *x = L"myname";
void *y = 0; // assume that p is already assigned previously to any given buffer
How can I determine if the unicode char pointer x
is inside the void* y
buffer?
Basically
How can I find a needle in a haystack provided that the haystack is a void pointer, and the needle is a unicode char pointer?