The DebugPrint()
function can be used to send information to the debug window in the Visual Studio IDE. This is handy for outputting debug information, as it only appears while debugging. This window can be scrolled so a developer can print a lot of information to it, then go back to look it over. The debug window contents can also be saved. The format string works like the standard C printf()
function in that it takes a formatting string, and a variable number of arguments.