This shouldn't be this difficult....
I have a global variable:
correctKey = 1;
I want to do some debugging, and MessageBox the value sometimes.
So, I init a CHAR with an extra spot for the terminating 0, right?
then I assign that to the INT value, right?
ck = correctKey;
Then try to debug message.
MessageBox(NULL,"Correct Key Is...", ck,NULL);[code]
I have tried using std::string, atoi , c_str() , etc. Apparently, I haven't figured out the right combination.