chen802311
码龄13年
关注
提问 私信
  • 博客:57,997
    57,997
    总访问量
  • 38
    原创
  • 1,535,943
    排名
  • 27
    粉丝
  • 0
    铁粉

个人简介:qq: 727690080

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:江苏省
  • 加入CSDN时间: 2011-10-22
博客简介:

chen802311的专栏

博客描述:
程序,人生
查看详细资料
个人成就
  • 获得22次点赞
  • 内容获得15次评论
  • 获得59次收藏
创作历程
  • 3篇
    2018年
  • 1篇
    2017年
  • 10篇
    2016年
  • 8篇
    2015年
  • 7篇
    2014年
  • 12篇
    2013年
成就勋章
TA的专栏
  • rpc
  • 分布式
  • algorithm
    16篇
  • windows
    5篇
  • python
    2篇
  • 收集
    6篇
  • go
    1篇
  • cpp
    8篇
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

178人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

世界上最好的c++ rpc实现基于c++14标准

代码量很少,就两个hpp文件,新手学习好材料。server:#include "buttonrpc.hpp"int foo(int age, int mm){ return age + mm;}int main(){ buttonrpc server; server.as_server(5555); server.bind("foo", foo); server.run()...
原创
发布博客 2018.04.29 ·
14089 阅读 ·
7 点赞 ·
11 评论 ·
28 收藏

websocket反向代理及负载均衡库

https://github.com/button-chen/websocketproxy
原创
发布博客 2018.04.05 ·
602 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

c++封装简易http(基于microhttpd)

使用例子:#include "httpservice.hpp"#include "boost/bind.hpp"#include using namespace std;void handle_test1(boost::shared_ptr res, boost::shared_ptr req){ res->write(req->body());}class CLAS
原创
发布博客 2018.01.29 ·
1800 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

microhttpd的c++封装接口

发布资源 2018.01.29 ·
rar

世界上最好的c++ json解析器

url:    https://github.com/button-chen/tinyjson使用只需包含一个头文件(header only).读取相当复杂的json,也很简单。#include "tinyjson.hpp"#include <string>#include <iostream>using namespace std;string jsonstri...
原创
发布博客 2017.08.12 ·
4673 阅读 ·
4 点赞 ·
1 评论 ·
13 收藏

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 ·
301 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

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 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

配置文件解析器

发布资源 2016.12.09 ·
rar

一个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 ·
476 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

c++11之模板别名(using)

#include using namespace std;// 定义一个具体类型的别名, using 与 typedef 一样的效果// 但是模板的别名只能用using(如果typedef也能的话,cpp11就不会加using这个特性了)// 以下效果一样using u_flags = std::ios_base::fmtflags;typedef std::ios_base::
原创
发布博客 2016.11.02 ·
1883 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

boost系列化c++对象

#include #include #include using namespace std;// 包含以简单文本格式实现存档的头文件#include #include #include #include #include // 系列化map必须包含此文件#include #include class testclass;struct myinfo;namesp
原创
发布博客 2016.10.26 ·
313 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

c++ lambda闭包

templateT lambdaTEST(string& name){ auto mylam = [&](int age) { cout << "my name is: " << name << ", age is: " << age << endl; }; return mylam;}int main(){ string name = "CPP"; auto&& h
原创
发布博客 2016.10.25 ·
354 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

给容器快速赋值

#include #include using namespace std;template class InsertPoxy{ T & m_poxyContain;public: InsertPoxy(T & poxyContain):m_poxyContain(poxyContain){ }; template InsertPoxy& operator()(U elem)
原创
发布博客 2016.10.22 ·
1228 阅读 ·
2 点赞 ·
0 评论 ·
1 收藏

值得推荐的C/C++框架和库

值得学习的C语言开源项目- 1. Webbench Webbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁,源码加起来不到600行。下载链接:http://home.tiscali.cz/~cz
转载
发布博客 2016.04.09 ·
390 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

opencl简介

转载至: http://blog.csdn.net/leonwei/article/details/88937961 Hello OpenCL     这里编写一个最简单的示例程序,演示OpenCl的基本使用方法:    1.首先可以从Nvdia或者Amd或者Intel或者所有OpenCl成员的开发者网站上下载一份他们实现的OpenCL的SDK。虽然不同公司支持
转载
发布博客 2016.03.16 ·
422 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

一些C++库

阅读一些有名的开源库, 对C++设计有更好的认识
原创
发布博客 2016.01.27 ·
344 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

自绘CListCtrl聊天列表MFC

发布资源 2016.01.27 ·
rar

高效c++ ini文件解析器

发布资源 2016.01.02 ·
zip

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

发布资源 2016.01.02 ·
zip

常用技巧记录

@@:sqlserver: sa  Chen8023@@:查看指定端口的状态:  netstat -ano|findstr "80"@@:优秀的进程管理工具:Process Explorer@@:windebug配置符号文件:srv*c:\symbols*http://msdl.microsoft.com/download/symbols   !analyz
原创
发布博客 2015.12.21 ·
447 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多