<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[liruda的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/liruda</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; liruda]]></copyright><item><title><![CDATA[windows 10 git 闪退的解决方案]]></title><link>https://blog.csdn.net/liruda/article/details/79382822</link><guid>https://blog.csdn.net/liruda/article/details/79382822</guid><author>liruda</author><pubDate>Mon, 26 Feb 2018 23:04:58 +0800</pubDate><description><![CDATA[以管理员运行cmd，输入 sfc/scannow命令，进行系统修复操作。问题解决]]></description><category></category></item><item><title><![CDATA[模态对话框的隐藏]]></title><link>https://blog.csdn.net/liruda/article/details/5689625</link><guid>https://blog.csdn.net/liruda/article/details/5689625</guid><author>liruda</author><pubDate>Wed, 23 Jun 2010 16:36:00 +0800</pubDate><description><![CDATA[<br />在网上搜索了很久, 没找到满意的, 后来到google用英文答案, 终于找到一个方法, 真是想见恨晚,,, 有两种方法:<br />第一种:<br />--------------<br />
增加一个成员变量m_Visible 到 对话框类 并在构造函数里初始化为FALSE<br /><br />
重载消息处理函数 OnWindowPosChanging.<br /><br /><br />void CTestDlg::OnWindowPosChanging( WINDOWPOS* lpw]]></description><category></category></item><item><title><![CDATA[C++ 0x 新特性(6):decltype ]]></title><link>https://blog.csdn.net/liruda/article/details/5652591</link><guid>https://blog.csdn.net/liruda/article/details/5652591</guid><author>liruda</author><pubDate>Mon, 07 Jun 2010 11:36:00 +0800</pubDate><description><![CDATA[decltype允许编译器根据任意表达式推断一个函数的返回值使perfect forwarding更加通用. 在过去的版本, 对于任意两个类型 T1和 T2， 没有办法减少表达式的类型而使用两种类型. decltype将允许你声明一个表达式有template参数, 如sum() 有类型 T1+T2.]]></description><category></category></item><item><title><![CDATA[C++ 0x 新特性(5):Nullptr ]]></title><link>https://blog.csdn.net/liruda/article/details/5652572</link><guid>https://blog.csdn.net/liruda/article/details/5652572</guid><author>liruda</author><pubDate>Mon, 07 Jun 2010 11:31:00 +0800</pubDate><description><![CDATA[Nullptr对null指针增加的类型安全并且与rvalue reference 有切实联系. 在c++中通常用宏NULL(定义为0)和0作为null指针. 目前还未遇到过什么问题, 但是在perfect forwarding中可能潜在问题, 因此引入了nullptr来避免这种问题.Nullptr 是一个常量nullptr_t, 可以转变为任何指针
类型, 但不能转为int 或者char等类型, 除perfect forwarding 函数外, nullptr还可以用在任何NULL能用的地方.警告: NU]]></description><category></category></item><item><title><![CDATA[C++ 0x 新特性(4):Static_assert]]></title><link>https://blog.csdn.net/liruda/article/details/5652503</link><guid>https://blog.csdn.net/liruda/article/details/5652503</guid><author>liruda</author><pubDate>Mon, 07 Jun 2010 11:12:00 +0800</pubDate><description><![CDATA[Static_assert 允许在编译时断言测试而不是运行时.  它在编译时能够触发一个友好的可读性错误. Static_assert 在评估一个框架参数时特别有用, 例如, 编译下面的代码将产生错误:“error C2338: custom assert: n should be less 
than 5”:template  struct StructA {
  static_assert(n  s1;
  StructA s2;
  return 0;
}]]></description><category></category></item><item><title><![CDATA[C++ 0x 新特性(3):Rvalue references]]></title><link>https://blog.csdn.net/liruda/article/details/5652474</link><guid>https://blog.csdn.net/liruda/article/details/5652474</guid><author>liruda</author><pubDate>Mon, 07 Jun 2010 11:06:00 +0800</pubDate><description><![CDATA[<br /> Rvalue references 是C++ 0x 的新引用类型,  它帮助解决非必要的复制和启用perfect forwarding. 当赋值表达式的右边是一个右值, 那左边的对象能窃取右边的资源而不是分离的分配, 因此而启用move语义.<br />perfect forwarding 允许你写一个函数框架(template) 包含n个参数, 然后透明地转发到另一个函数. 而参数性质
(modifiable, const, lvalue or rvalue) 在转发过程中维持不变.<br]]></description><category></category></item><item><title><![CDATA[Visual C++ 2010 0x 特性(2):the auto keyword]]></title><link>https://blog.csdn.net/liruda/article/details/5652436</link><guid>https://blog.csdn.net/liruda/article/details/5652436</guid><author>liruda</author><pubDate>Mon, 07 Jun 2010 10:55:00 +0800</pubDate><description><![CDATA[Visual C++ 2010 启用了6个c++0x 核心语言特性: lambda expressions, the auto keyword, rvalue references, static_assert, nullptr and decltype.]]></description><category></category></item><item><title><![CDATA[C++ 0x 新特性(1):Lambda expressions]]></title><link>https://blog.csdn.net/liruda/article/details/5652390</link><guid>https://blog.csdn.net/liruda/article/details/5652390</guid><author>liruda</author><pubDate>Mon, 07 Jun 2010 10:39:00 +0800</pubDate><description><![CDATA[Visual C++ 2010 启用了6个c++0x 核心语言特性: lambda expressions, the auto keyword, rvalue references, static_assert, nullptr and decltype.]]></description><category></category></item><item><title><![CDATA[Visual C++通过snmp获取mac地址]]></title><link>https://blog.csdn.net/liruda/article/details/2254378</link><guid>https://blog.csdn.net/liruda/article/details/2254378</guid><author>liruda</author><pubDate>Sun, 06 Apr 2008 11:03:00 +0800</pubDate><description><![CDATA[在visual c++环境下获取MAC地址的方式有很多种，但我觉得下面的方法最好。因为它不依赖平台platform SDK (现在已经不支持VC++ 6 anyway), 或者其他库。但要注意一些问题：因为要使用WSAStartup()函数，所以需要引入WS2_32.dll。#pragma comment(lib,"Ws2_32.lib")   snmpmac.cpp]]></description><category></category></item><item><title><![CDATA[Visual C++中去除警告]]></title><link>https://blog.csdn.net/liruda/article/details/2252809</link><guid>https://blog.csdn.net/liruda/article/details/2252809</guid><author>liruda</author><pubDate>Sat, 05 Apr 2008 10:51:00 +0800</pubDate><description><![CDATA[             在编程中，编译器警告的意思是提问程序员：如果这样做将会出现意外的错误，你确定要这样做吗？           在很多情况下，我们写程序的时候会出现一些警告，而这些警告我们都知道这样做的确是需要的并且程序中多处出现这种做法。如果这样，编译时会出现很多警告，在几个以内我们可以忽略，但是多了，到几十个以上那么如果有一些我们不能忽略的警告我们可能也会被忽略。       ]]></description><category></category></item><item><title><![CDATA[extern "C"---编译语言连接字符串（转载）]]></title><link>https://blog.csdn.net/liruda/article/details/2247766</link><guid>https://blog.csdn.net/liruda/article/details/2247766</guid><author>liruda</author><pubDate>Thu, 03 Apr 2008 16:51:00 +0800</pubDate><description><![CDATA[C++语言的创建初衷是“a better C”,但是这并不意味着C++中类似C语言的全局变量和函数所采用的编译和连接方式与C语言完全相同.作为一种欲与C兼容的语言,C++保留了一部分过程式语言的特点(被世人称为“不彻底地面向对象”),因而它可以定义不属于任何类的全局变量和函数.但是,C++毕竟是一种面向对象的程序设计语言,为了支持函数的重载,C++对全局函数的处理方式与C有明显的不同. 2]]></description><category></category></item><item><title><![CDATA[#pragma comment 的使用方法]]></title><link>https://blog.csdn.net/liruda/article/details/2230617</link><guid>https://blog.csdn.net/liruda/article/details/2230617</guid><author>liruda</author><pubDate>Sun, 30 Mar 2008 14:48:00 +0800</pubDate><description><![CDATA[#pragma comment ( lib,"wpcap.lib" ) 表示链接wpcap.lib这个库。和在工程设置里写上链入wpcap.lib的效果一样，不过这种方法写的 程序别人在使用你的代码的时候就不用再设置工程settings了。告诉连接器连接的时候要找ws2_32.lib，这样你就不用在linker的lib设置里指定这个lib了。比如：＃includ]]></description><category></category></item><item><title><![CDATA[为Visual C++6.0配置STL环境]]></title><link>https://blog.csdn.net/liruda/article/details/1671484</link><guid>https://blog.csdn.net/liruda/article/details/1671484</guid><author>liruda</author><pubDate>Fri, 29 Jun 2007 14:31:00 +0800</pubDate><description><![CDATA[       C++标准化工作开始于1989年，由国际性的ANSI/ISO委员会负责。标准化工作以Bjarne Stroustrup 的两本书《The C++ Programming Language 》和《The Annotated C++ Reference Manual》为根基。这份标准在1997年通过。于1998年成为国际性的ISO/ANSI标准。过程化了十年时间。这份标准被明名为：Ino]]></description><category></category></item></channel></rss>