自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

chen802311的专栏

程序,人生

  • 博客(3)
  • 资源 (5)
  • 收藏
  • 关注

原创 python装饰器

1:  import timefrom functools import wraps def timethis(func): ''' Decorator that reports the execution time. ''' @wraps(func) def wrapper(*args, **kwargs): start = time.time() result = func(*

2016-12-15 16:48:39 285

原创 c++11之可变模板参数

auto mysum(){ return 1;}templateauto mysum(const T& t, const args&... ps){ return t * mysum(ps...);}int main(){ auto sum = mysum(1,3.9,4); cout << sum << endl; return 0;

2016-12-14 18:32:16 301

原创 一个ini配置文件解析器

test.ini:#begin[system]#参数1param1=12 ;参数2param2=12,13,14,15#支持多行模式param3=12, 13,14 ,15,18,19,20#参数4param4 = chen: hui:zong:hao:haoparam5=trueparam6 =true,false,aaa,bbbb, true[op

2016-12-09 16:42:36 462

microhttpd的c++封装接口

microhttpd 的c++封装接口, head only, 包含头文件即可使用: 例: LsHTTP http(8888); http.GET(&quot;/chen/test3&quot;, [](boost::shared_ptr&lt;Response&gt; res, boost::shared_ptr&lt;Request&gt; req){ res-&gt;write(&quot;handle test3 url request&quot;); }); http.run();

2018-01-29

配置文件解析器

一个方便的ini配置文件解析器

2016-12-09

自绘CListCtrl聊天列表MFC

MFC自绘CListCtrl实现漂亮聊天列表

2016-01-27

高效c++ ini文件解析器

高效c++ ini文件解析器,运用stl提高效率

2016-01-02

iniConfig/ini配置文件解析通用类

ini配置文件解析通用类, 运用stl容器提升效率

2016-01-02

空空如也

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

TA关注的人

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