摘要:
UnitTest 编译异常汇总: 问题1 Check dependencies No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386). 问题2 <!--StartFra 阅读全文
摘要:
有如下C++函数声明static int greatest_common_divisor(int &a, int &b);如下调用方式报错:Assert::AreEqual(6, CppAlgorithms::greatest_common_divisor(18, 12), L"Expect result is 6.");" initial value of reference to non const must be lvalue "究其原因是 引用类型变量如果不是const, 必须赋以左值。 int a = 18, a 是左值,18是 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--Console.WriteLine("HelloWorld");FileStreamfs=newFileStream("Test.txt",FileMode.Create);//First,savet... 阅读全文
摘要:
原文地址:Office Development with Visual Studio : Specifying a Product Name, Publisher Name and other properties for VSTO solutions (Saurabh Bhatia)作者: Saurabh Bhatia (微软VSTO项目经理)发布时间:2008年6月8号现在越来越多的用户正在使用Visual Studio 2008 开发Office 2007解决方案。许多用户询问如何为这样的解决方案指定属性,如产品名,发布者等。不过Visual Studio IDE 里做不了这个事。在这篇 阅读全文