会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
itdef
上一页
1
···
113
114
115
116
117
118
119
120
121
···
127
下一页
2016年8月7日
c++模板笔记
摘要: 使用vc2015进行C++ 模板的学习实验和笔记 用简单示例学习了解STL template大部头理论书 讲解各种规则和各种规则例外的解决办法 集中精力在20%的规则中的阴暗角落而不是80%实践中要注意的东西 https://github.com/wuye9036/CppTemplateTutori
阅读全文
posted @ 2016-08-07 14:07 itdef
阅读(289)
评论(0)
推荐(0)
2016年8月6日
模板学习实践三 functor
摘要: #include <iostream>#include <typeinfo> void foo(){ std::cout << "foo() called" << std::endl;} typedef void FooT(); // FooT is a function type, // the
阅读全文
posted @ 2016-08-06 18:28 itdef
阅读(273)
评论(0)
推荐(0)
模板学习实践二 pointer
摘要: c++ template学习记录 使用模板将实际类型的指针进行封装 当变量退出作用域 自动delete
阅读全文
posted @ 2016-08-06 17:40 itdef
阅读(419)
评论(0)
推荐(0)
2016年7月30日
模板学习实践一 accumulationtraits
摘要: // 11111.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include template class AccumulationTraits; template class AccumulationTraits { public: typedef int Acct; static Acct zero() { r...
阅读全文
posted @ 2016-07-30 21:42 itdef
阅读(296)
评论(0)
推荐(0)
2016年7月19日
黑客屏保 代码来自网络搜索 做了部分改动
摘要: 版本2
阅读全文
posted @ 2016-07-19 17:50 itdef
阅读(1323)
评论(1)
推荐(0)
2016年6月28日
boost asio 学习(九) boost::asio 网络封装
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=10 9. A boost::asio network wrapper (TCP) 现在我们了解asio和TCP网络
阅读全文
posted @ 2016-06-28 11:45 itdef
阅读(1678)
评论(0)
推荐(0)
2016年6月27日
boost asio 学习(八) 网络基础 二进制写发送和接收
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=9 8. Networking basics: binary protocol sending and receiv
阅读全文
posted @ 2016-06-27 17:26 itdef
阅读(2157)
评论(0)
推荐(0)
boost asio 学习(七) 网络基础 连接器和接收器(TCP示例)
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=8 7. Networking basics: connectors and acceptors (TCP)我们来学
阅读全文
posted @ 2016-06-27 13:03 itdef
阅读(2288)
评论(0)
推荐(0)
2016年6月26日
boost asio 学习(六) 定时器
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=7 6 定时器 boost::asio 提供了一个 deadline_timer class来提供同步与异步的接口。
阅读全文
posted @ 2016-06-26 17:27 itdef
阅读(1246)
评论(0)
推荐(0)
boost asio 学习(五) 错误处理
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting-started-with-boostasio?pg=6 5. Error handling 接下来我们需要注意的话题是错误处理。换句话说就是函数抛出异常时发生了什么 Bo
阅读全文
posted @ 2016-06-26 16:52 itdef
阅读(2808)
评论(0)
推荐(0)
上一页
1
···
113
114
115
116
117
118
119
120
121
···
127
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告