自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 流水账7.20

<br />1.<br /> <br />session—会话,逻辑连接,需要在连接时保存连接对象的相关消息<br /> <br />2.<br /> <br />对不同cmd的处理方法:<br /> <br />将不同的cmd和对应的std::tr1::function对象放入map中,根据cmd调用相应的函数<br /> <br />3.<br /> <br />写漂亮的,简单的程序<br /> <br />4.<br /> <br />函数式宏定义,#可以将参数化为字符串

2010-07-20 21:50:00 307

原创 流水账7.19

<br />1.<br /> <br />std:tr1::function<br /> <br />-----------------what's "std:tr1::function"?--------------------<br />Use the std::tr1::function Class to Generalize Callbacks<br /> <br />or a C++ programmer, the term "a callback function" means at least

2010-07-19 17:18:00 404

原创 boost asio学习(2)

<br />以下代码是在boost::asio的Tutorial的Daytime.3 - An asynchronous TCP daytime server示例上加了几行<br /> // // server.cpp // ~~~~~~~~~~ // // Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software L

2010-07-12 16:44:00 1824

原创 boost asio学习(1)

boost主页asio指南的第二个例子:异步定时器的使用#include #include #include boost::asio::io_service io; boost::asio::deadline_timer t(io, boost::posix_time::seconds(5)); boost::asio::deadline_timer t1(io, boost::posix_time::seconds(3)); void print(const boost::s

2010-07-07 10:52:00 3123

原创 Metaprogramming(1)

<br />C++ Templates metaprogramming<br /> <br />第二章练习<br />2-0. 的三种解法<br />// test.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <boost/tr1/type_traits.hpp> #include <boost/static_assert.hpp> #include <boost/mpl/if.hpp> //struct result<c

2010-07-06 12:45:00 757

原创 嗯,我也有技术博客了。

<br />RT<br /> 

2010-07-06 10:45:00 287

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除