| |||
| 在调试模式下运行自己的程序,用 OutputDebugString 函数可以把调试信息输出到 VC 的 OUTPUT 窗口,这个没有什么,大家都知道。有意思的是,比如,你输出这样的字符串: 代码:
|
| |||
| 看来"OUTPUT 窗口"的对于查找定位功能是直接对其字符串解析的. |
| ||||
| From MSDN: Visual C++ Concepts: Building a C/C++ Program Formatting the Output of a Custom Build Step or Build Event If the output of a custom build step or build event is formatted correctly, users get the following benefits:
{filename (line# [, column#]) | toolname} : [anytext] {error | warning} code####: Localizable String [ any text ] Where:
C:\sourcefile.cpp(134) : error C2143: syntax error : missing ';' before '}' LINK : fatal error LNK1104: cannot open file 'somelib.lib' Formatting the Output of a Custom Build Step or Build Event
__________________ |
![]() |
| 书签 |
| 主题工具 | |
| 显示模式 | |
| |
相似的主题 | ||||
| 主题 | 主题作者 | 版面 | 回复 | 最后发表 |
| [转载]发生在我身上的一段真实经历,没看完不要发表意见,谢谢 | cpper | 灌水/杂烩/BT | 1 | 2006-03-10 08:09 PM |
| 大家帮我参考一下! | wanlang | 技术杂烩 | 8 | 2004-06-04 01:46 PM |
| 转贴“我发现了qq的一个惊人秘密!”暴笑 | lisunway | 技术杂烩 | 0 | 2004-01-02 02:17 AM |
| [转载]发生在我身上的一段真实经历(1) by 清晨之恋 | polyrandom | 技术杂烩 | 2 | 2002-09-24 11:58 AM |
| [转载]发生在我身上的一段真实经历,没看完不要发表意见,谢谢 | polyrandom | 技术杂烩 | 0 | 2002-09-24 11:48 AM |