在程序 debug 版本中
TRACE("kkkkk");
单步调试发现输出的是
工程名:kkkkk就是说 自动加了个工程名上去 这是为什么 ?
TRACE("kkkkk");
单步调试发现输出的是
工程名:kkkkk就是说 自动加了个工程名上去 这是为什么 ?
解决方案 »
- 如何向网站提交表单数据啊
- 令我疑惑的问题!
- 哪位大哥有基于TCP的socker通讯程序啊
- 就这么多分了,请大家帮忙,在VC6中,怎么没有路径浏览的对话框类呢?CFileDialog如何设置才可以达到路径浏览的功能?还是有其它的类?
- 在c++里用什么函数可以打开20000到20002端口??
- 关于用vc处理动画
- 谁能跟我讲讲MFC中动态约束的概念,我对这个概念不熟悉
- 关于补余求和的算法
- realplayer不能重复播放。我写了点代码实现了此功能。谁要源代码(ttzzgg_80713)
- c++编程思想的读者,进来坐坐.
- 能不能把DLL一起编译进EXE文件?
- 利用CreateFile WriteFile ReadFile操作文件的例子谁有?
我试验
TRACE("1\n");
TRACE("2\n");
TRACE("3\n");
输出结果就变成
MyPro: 1
MyPro: 2
MyPro: 3
TRACE("ggg"); 输出 tt: ggg
晕倒了
if ((afxTraceFlags & traceMultiApp) && (AfxGetApp() != NULL))
afxDump << AfxGetApp()->m_pszExeName << ": ";
这里输出了 那个工程名
Enable the afxTraceEnabled flag. There are several ways to do this, but using theTRACER.EXE utility is highly recommended.
Customize the afxTraceFlags to the level of detail you would like to see in trace messages. Use of the TRACER.EXE utility is highly recommended.
Where the Output Goes