quote:
Originally posted by raceprouk
quote:
Originally posted by Millenium_edition
code:
MessageBox((HWND)0,reinterpret_cast<const char*>(tempchar),'\0',0);
I'm surprised that compiled, sort of. Passing a char when you need a char* should be picked up by the compiler.
not if you tell it explicitly to reinterpret cast