void trace(char* szFormat, ...)
{
#ifdef _DEBUG
 char buff[1024] = {0};
 va_list args;
 va_start(args,szFormat);
 _vsnprintf(buff, 1023, szFormat,args);
 OutputDebugString(buff);
 va_end( args);             
#endif
}

相关文章:

  • 2021-08-29
  • 2021-10-02
  • 2021-12-26
  • 2021-09-09
  • 2021-11-27
  • 2021-09-05
  • 2021-11-24
猜你喜欢
  • 2021-09-13
  • 2021-09-23
  • 2021-09-07
  • 2022-12-23
  • 2021-04-11
  • 2021-11-28
相关资源
相似解决方案