To put string in VS's debug output window: Managed: System.Diagnostics.Debug.WriteLine("I am using dot net debugging"); Native C++: #include <windows.h> int _tmain(int argc, _TCHAR* argv[]) { OutputDebugString(L"asdf"); return 0; }