quote:
Originally posted by TheBlasphemer
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
I did that because it gave me an error if I didn't, but that's probably my fault
i realized that afterwards. but I'm a c++ noob atm
(thanks to everyone
)