11/28/2015

(example code) print string to debug output window in visual studio C++

#ifdef DEBUG
   wchar_t str[100];
   swprintf(str,L"if %d %lf\n", valueInt, valueDouble);
   OutputDebugString( str );
#endif

No comments:

Post a Comment