Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

skim

debugging in window program

This topic is 5601 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made a window program that draws simple shapes on a window, and I want to see the values of the variables I used to make the program. How do I see the values of the variables? On a normal I/O C/C++ program and a console program, I would use cout or printf to show the values of the variables but I know that doesn''t work on a window program.

Share this post


Link to post
Share on other sites
Advertisement
Look into the "TextOut" function if you''re using GDI, or you may want to try using the debugger. It''s difficult to use it first, but the times I have used it, it has been very useful (and I''m sure even more as my programs get more complicated )

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!