Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Microsoft Visual C++ 2010 Express:在 C++ WinAPI 应用程序中,如何打印到调试窗口?我使用什么功能?
您正在寻找OutputDebugString功能。
OutputDebugString
在调试器下运行时(例如,在 Visual Studio 中),此函数的参数会自动重定向到输出窗口。