lenmom

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 43 下一页

2018年7月2日 #

摘要: 1. 让自己习惯C++ 条款01: 视C++为一个语言联邦 1.1 C++ 是一个多重泛型编程语言(multiparadigm programming),支持:过程形式(procedural),面向对象形式(object-oriented),函数形式(functional),泛型式(generic) 阅读全文
posted @ 2018-07-02 08:49 老董 阅读(314) 评论(0) 推荐(0)

2018年7月1日 #

摘要: CentOS 7 安装Boost 1.61 1. 到官网下载最新版的boost,http://www.boost.org/users/history/version_1_61_0.html 2. 解压: tar zxvf boost_1_61_0.tar.gz 3. 进入解压后的目录boost_1_ 阅读全文
posted @ 2018-07-01 21:59 老董 阅读(2550) 评论(0) 推荐(0)

2018年6月27日 #

摘要: https://www.cnblogs.com/startpoint/p/4194052.html https://www.cnblogs.com/lyl6796910/p/7613664.html https://www.cnblogs.com/dubing/p/3878591.html http 阅读全文
posted @ 2018-06-27 21:22 老董 阅读(273) 评论(0) 推荐(0)

摘要: Recently I’ve found out that we can easily cause a memory leaks in our .net application by improper usage of the dependency injection container Autofa 阅读全文
posted @ 2018-06-27 19:03 老董 阅读(346) 评论(0) 推荐(0)

摘要: 首先:两者都是按地址传递的,使用后都将改变原来参数的数值。 其次:ref可以把参数的数值传递进函数,但是out是要把参数清空,就是说你无法把一个数值从out传递进去的,out进去后,参数的数值为空,所以你必须初始化一次。这个就是两个的区别,或者说就像有的网友说的,ref是有进有出,out是只出不进。 阅读全文
posted @ 2018-06-27 13:26 老董 阅读(170) 评论(0) 推荐(0)

2018年6月26日 #

摘要: With the beta release of ASP.NET MVC 4 and the ASP.NET Web API being released a few weeks ago, I decided it was about time to have a look at what the 阅读全文
posted @ 2018-06-26 11:40 老董 阅读(289) 评论(0) 推荐(0)

2018年6月21日 #

摘要: Or, “Avoiding Memory Leaks in Managed Composition” Understanding lifetime can be pretty tough when you’re new to IoC. Even long-time users express vag 阅读全文
posted @ 2018-06-21 17:16 老董 阅读(304) 评论(0) 推荐(0)

摘要: 1、在asp.net Boilerplate项目中,Abp.0.12.0.2,.net framework4.5.2。下载后添加了webApi的helpPage功能,调试出现错误。 dubug : at Areas\HelpPage\Views\Help\DisplayTemplatesHelpPa 阅读全文
posted @ 2018-06-21 15:19 老董 阅读(757) 评论(0) 推荐(0)

2018年6月20日 #

摘要: 注意:本文所说的全局变量指的是 variables with static storage,措词来自 c++ 的语言标准文档。 什么时候初始化 根据 C++ 标准,全局变量的初始化要在 main 函数执行前完成,常识无疑,但是这个说法有点含糊,main 函数执行前到底具体是什么时候呢?是编译时还是运 阅读全文
posted @ 2018-06-20 14:53 老董 阅读(3943) 评论(0) 推荐(0)

2018年6月19日 #

摘要: 总结C++中关于extern关键字的用法。 1.变量的生明和定义中 C++语言支持分离式编译机制,该机制允许将程序分割为若干个文件,每个文件可被独立编译。为了将程序分为许多文件,则需要在文件中共享代码,例如一个文件的代码可能需要另一个文件中中定义的变量。 为了支持分离式编译,C++允许将声明和定义分 阅读全文
posted @ 2018-06-19 17:51 老董 阅读(6323) 评论(0) 推荐(0)

上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 43 下一页