Debugging Questions
how do you guys debug your programs? currently, i''m running a console app with GLUT, so that i can check values in the console window by just using cout for whatever values i want to see. but the final game will be in WIN32. is there a way to bring up a console window so i can use my favorite old cout in a windows app? (i''ve been using message boxes and "colorchanging" statements, and it''s a pain the ass to debug realtime values like position, etc.)
a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
I just blit text onto the screen with values, so they change in real time. (ie. gfxDebugPrintf (100,100, "player pos: %d, %d", player.x, player.y); (that is a function i made btw)).
-----------------------------
-cow_in_the_well
http://cowswell.gda.ods.org/
"If it's stupid but works, it's not stupid" - Murphey's Law
-----------------------------
-cow_in_the_well
http://cowswell.gda.ods.org/
"If it's stupid but works, it's not stupid" - Murphey's Law
- Thomas Cowellwebsite | journal | engine video
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement