i am working on vc++ application ,in this application How to write to console/log?
c# ----system.diagnostics.debug.writeline("Hello"); similar to Vc++ ----?
A metro style app cannot have a console. You can use OutputDebugString() in a C++/CXX app to display debug text on the Visual Studio Output window, just like System.Diagnostics.Debug.Write does in a managed app. There are not a lot of approved winapi functions but OutputDebugString() is okay. Starting MSDN page is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With