一,vs输出调试信息;使用:OutputDebugString()函数:
以下Demo使用如下:
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>


int main()
{

char chInput[512];
sprintf(chInput,"int:%d\n",500);
OutputDebugString(chInput);
system("pause");
return 0;
}

不要勾选安全开发生命周期选项;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-05-01
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
猜你喜欢
  • 2021-09-25
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-12-25
相关资源
相似解决方案