joelwenzel
Programmer
- Jun 28, 2002
- 448
Hi,
I am wondering how I can check what is in certain variables in my program. I want to be able to just convert whatever variable I have and print it to the screen. So I have two problems
1. I need to somehow get a pointer to the device context from any function so that I can write using TextOut(0,0, mystring).
2. I need to be able to convert any kind of variable to a CString
Any ideas. I'm sure this is an easy question but I cannot find the answer.
I am wondering how I can check what is in certain variables in my program. I want to be able to just convert whatever variable I have and print it to the screen. So I have two problems
1. I need to somehow get a pointer to the device context from any function so that I can write using TextOut(0,0, mystring).
2. I need to be able to convert any kind of variable to a CString
Any ideas. I'm sure this is an easy question but I cannot find the answer.