两种输出调试信息的方法

来源:互联网 发布:工程网络计划紧前工作 编辑:程序博客网 时间:2024/05/22 05:29

1. TRACE

例如:TRACE(_T("success");

   TRACE(_T("%ld",9999);

2. OutputDebugString

例如:OutputDebugString(_T("sucess"));

  Cstring strNum;

  strNum.format(_T("%ld",9999);

  OutputDebugString(strNum);

原创粉丝点击