I am starting to work with the Windows API. However, I noticed that you cannot use functions such as printf if you have a windowed application. What is the standard way to print debugging and logging information? Sorry if this is an obvious question.
I usually use OutputDebugString() , the API here . During application startup, you can view the results of this function using DebugView from SysInternals or in the Visual Studio output window during debugging.
OutputDebugString()
Options: