码迷,mamicode.com
首页 >  
搜索关键字:boost lockfree    ( 1959个结果
一个简单的高并发的回应服务器(5万并发)
一个简单的高并发的回应服务器,主要是使用boost的库! 自己测试过可以达到5万个并发! 工程IP地址:http://download.csdn.net/detail/guanyijun123/8335907 #include //#include "AuthenHandle.h" //#include "configure.h" //#include "NetSocketComma...
分类:其他好文   时间:2015-01-07 13:10:50    阅读次数:375
boost 部分编译
boost部分编译
分类:其他好文   时间:2015-01-07 12:34:32    阅读次数:191
Python/C++ 对字符串的操作
字符串操作在任何语言中都很常用。 本文列举了一些常见的Python/c++ 对字符串的操作。 c++ 的使用了boost libraray, 所涉及到的函数都在 中定义。pythonc++大小写转换'str'.upper(), 'str'.lower()boost::to_upper('str'),...
分类:编程语言   时间:2015-01-06 23:01:16    阅读次数:286
Boost库 对时间和日期的处理 date_timer库
/*Boost 对时间和日期的处理 提供了timer和data_time 库*/ //有关timer库提供了简易的度量时间和进度显示的功能可以用于性能测试等需要计时的任务 /* timer 的三个组件  计时器类timer  progress_timer和进度指示类progress_display timer 可测量时间的流逝,提供毫秒级的计时精确度 #include #inc...
分类:其他好文   时间:2015-01-06 12:00:30    阅读次数:149
基于boost实现的共享内存版HashMap
#include #include #include #include #include int main (int argc, char *argv[]) { typedef int KeyType; typedef float MappedType; typedef std::pair ValueType; typedef boost::interp...
分类:其他好文   时间:2015-01-05 20:32:30    阅读次数:511
vs2013下boost1.57编译
环境:windows8.1,vs2013,boost1.57 需要用到boost,编译一个boost用一下。 一、下载 http://sourceforge.net/projects/boost/files/boost/1.57.0/,可以下载一个bz的压缩文件比较小,并将文件解压到目录比如E:\thirdlib\boost_1_57_0。 二、编译 1.打开Visu...
分类:其他好文   时间:2015-01-05 16:38:51    阅读次数:169
boost库学习之 date_time库
date_time库是一个全面灵活的日期时间库,提供时间相关的各种所需功能,也是一个比较复杂的库。它支持从1400-01-01到9999-12-31之间的日期计算。 使用时包含#include 头文件。引用boost::gregorian;命名空间 日期 日期 date是date_time库中的核心类。以天为单位表示时间点。常用方法 date d1;...
分类:其他好文   时间:2015-01-04 21:24:16    阅读次数:225
boost安装
1 官方文档www.boost.org2 安装2.1 ubuntu sudo apt-get install libboost-all-dev2.2 centoswget http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1...
分类:其他好文   时间:2015-01-04 17:02:14    阅读次数:169
2014年读过的书总结
编程技术:1 《Lua游戏开发实践指南》2 《 C++ primmer 》c++基础必备3 《C++ effective》 C++进阶必备,还需要点Boost基础4 《大话设计模式》浏览完,入门可以看看,看完即忘是必然,还是要多思考,翻了两遍,后面还回去去看HeadFirst那本。 5 《C++数据...
分类:其他好文   时间:2015-01-01 23:46:13    阅读次数:259
boost 源码编译 的 Makefile.am写法备份
include $(top_srcdir)/common.mkbin_PROGRAMS=lib_LIBRARIES=lib_LTLIBRARIES=lib_LTLIBRARIES+=libStringProcess.laINCLUDES=-I /home/liuyu/MyTars/boost_1_5...
分类:其他好文   时间:2014-12-30 15:10:20    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!