Tag Archives: VC++

VS2008:error C2259 cannot instantiate abstract class

Visual Studio2008编译错误error C2259 cannot instantiate abstract class 经过检查,发现源代码中确实已经派生了虚函数,派生的虚函数源文件也正常编译。 最后在微软的官方网站上找到了答案(可能只是error C2259其中一种可能的原因,供参考): This behavior is by design with VS 2005. The root cause is because wchar_t is a different type than unsigned short though in prior versions of Visual C++, the compiler considered them to be the same type. In this sample code, the type library uses [...]

Visual C++调试时查看数组内容

微软文档原文地址: http://support.microsoft.com/?scid=kb%3Ben-us%3B198953&x=9&y=9 Starting with Visual C++ version 6.0, it is now possible to expand an array pointer to view all array elements in the Visual C++ Debugger Watch window. This feature is not documented. 从 Visual c + + 6.0 版开始,现在可以展开 Visual c + + 调试器监视窗口中查看所有数组元素的数组指针。 此功能未记录。 In the Watch window, type an expression that [...]

Canonical URL by SEO No Duplicate WordPress Plugin