摘要:
Let’s assume there is buggy code in PowerSI. BOOL CTDXFApp::InitInstance() { double dVal=((_complex*)0)->x; …… } PowerSI crash when it is launched. Th 阅读全文
摘要:
Today, I fix one ccr of wording change. One solution I chose is to use macro to replace the string. Like this one, #define REPLCE_STRING _T("coding") 阅读全文
摘要:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb773568(v=vs.85).aspx Remarks Expanding a node that is already expanded is considered a succ 阅读全文
摘要:
https://msdn.microsoft.com/en-us/library/eeah46xd.aspx 转自: //http://blog.csdn.net/zhuce0001/article/details/9152515. 在基于对话框的程序中,有一个任务是改变编辑框控件的背景,怎么办? 阅读全文
摘要:
Linker:http://blog.csdn.net/ztz0223/article/details/7614091Hyperlink before introduce the basical ODBCbetween VS2008 C++ project and Mysql datasource.... 阅读全文
摘要:
Hi All,After I investigated ccr below, I found an rounding issue. The issue is that we can get different resultbetween Linux and Windows platform when... 阅读全文
摘要:
refer to: https://msdn.microsoft.com/en-us/library/hh598953.aspx 阅读全文
摘要:
refer to http://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.htmlMFC + GTesthttp://m.blog.csdn.net/blog/wulong710/5909928http://blog.csdn.net/zh... 阅读全文
摘要:
调试符号.1.1 C 的调试符号case1. 使用C调用协议(__cdecl)的函数,在函数名称前加一下划线,不考虑参数和返回值.eg.case2.使用快速调用协议(__fastcall)的函数,在函数名称前后各加@符号,后跟参数的长度, 不考虑返回值.eg. extern "C" int__fas... 阅读全文
摘要:
任何不会修改数据成员的函数都应该声明为const类型。如果在编写const成员函数时,不慎修改了数据成员,或者调用了其它非const成员函数,编译器将指出错误,这无疑会提高程序的健壮性。以下程序中,类stack的成员函数GetCount仅用于计数,从逻辑上讲GetCount应当为const函数。编译... 阅读全文