How can i convert 'const wchar_t' to 'const char *'
Posted: Sat Dec 22, 2007 12:16 am
xml->getNodeName(), it returns const wchar_t how can i convert it to const char * ???
but why?
look:
strcmp declaration
but why?
look:
Code: Select all
if(!strcmp("node", xml->getNodeName())
Code: Select all
strcmp(const char * _Str1, const char * _Str2);