C++ Programming
09-26-2009, 04:01 AM
hi i have a basic doubt in cstring..
i have like this:
CString test = hello;
#define abc L"hello"
if (test.find(CString(abc)) == 0)
------
-----
But this if condition is failing...May i know the reason? how to make it to pass???
Can anyone enlighten me about this issue?
Thanks,
rakesh.
i have like this:
CString test = hello;
#define abc L"hello"
if (test.find(CString(abc)) == 0)
------
-----
But this if condition is failing...May i know the reason? how to make it to pass???
Can anyone enlighten me about this issue?
Thanks,
rakesh.