http://docs.alembic.io/python/examples.html#introduction alembic python 的一个库, 可以使用Python读写alembic 但是需要另外两个外部库, Make sure that PyImath is in your PYTHONPATH, and Boost::Pytho...
分类:
编程语言 时间:
2015-02-12 10:58:53
阅读次数:
175
实战出精华
用具体的C++网络编程例子来提升你的逼格
John Torjo
Boost.Asio C++ 网络编程...
分类:
其他好文 时间:
2015-02-12 10:44:58
阅读次数:
233
boost 的asio库里有几个定时的器,老的有 deadline_timer, 还有三个可配合 C++11 的 chrono 使用的 high_resolution_timer、steady_timer和 system_timer。 老的 deadline_timer我不太想用了,因为用起来...
分类:
其他好文 时间:
2015-02-11 00:29:26
阅读次数:
521
图:机器人科学家 “夏娃”Date:February 3, 2015Source:University of CambridgeSummary:Eve, an artificially intelligent 'robot scientist' could make drug discovery f...
分类:
其他好文 时间:
2015-02-11 00:28:04
阅读次数:
274
// testc.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include using boost::asio::ip::tcp...
分类:
Web程序 时间:
2015-02-10 21:31:25
阅读次数:
221
1. shared_ptr是要程序管理的对象,这个对象管理了它引用的另一个对象2. shared_ptr销毁的时候,把它引用的对象的引用数减一,这个是强引用3. weak_ptr可以认为是普通指针,它不管理它引用的对象的内存左边的小方块是智能指针对象,右边P对象拥有一个引用C的智能指针,C要能P销毁...
分类:
其他好文 时间:
2015-02-10 15:13:42
阅读次数:
138
安装配置Thrift
Thrift的编译器使用C++编写的,在安装编译器之前,首先应该保证操作系统基本环境支持C++的编译,安装相关依赖的软件包,如下所示
sudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby...
分类:
系统相关 时间:
2015-02-09 23:05:58
阅读次数:
226
Boost Asio 网络编程 基本用法
flyfish 2015-2-9
IP地址
boost::asio::ip::address表示IP地址,同时支持ipv4和ipv6。
boost::asio::ip::address addr;
addr = addr.from_string("127.0.0.1");
assert(addr.is_v4()); ...
分类:
其他好文 时间:
2015-02-09 18:24:01
阅读次数:
351
最近一直在Window下编译64位的boost,找到这篇博文,好好学习一下: 一直以来都是在Win32环境下Build和使用boost,但现在基本上每天都在64位Win7下工作,所以很有必要把这几天的经验总结下来。和32位环境不同,x64环境下编译得先从开始菜单启动Visual Studio的Vis...
分类:
其他好文 时间:
2015-02-09 12:34:05
阅读次数:
100
1.用VC命令行在boost目录下执行bootstrap.bat会在boost目录下生成bjam.exe2.编译boost 编译32位static lib: bjam stage --toolset=msvc-12.0 --stagedir="D:\third_party\boost_1_5...
分类:
其他好文 时间:
2015-02-06 20:13:17
阅读次数:
161