Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4153711
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

发布时间:2018-04-25 14:52:20

Also look at CURLOPT_SSL_VERIFYHOST: 1 to check the existence of a common name in the SSL peer certificate. 2 to check the existence of a common name and also verify that it matches the hostname provided.......【阅读全文】

阅读(3936) | 评论(0) | 转发(0)

发布时间:2018-03-14 16:44:26

cmake_minimum_required(VERSION 2.8.4)project(BoostTest)message(STATUS "start running cmake...")find_package(Boost 1.57.0 COMPONENTS system filesystem REQUIRED)if(Boost_FOUND) message(STATUS "Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}") message(STATUS "Boost_LIBRARIES: ${Boost_LIBRARI.........【阅读全文】

阅读(4067) | 评论(0) | 转发(0)

发布时间:2016-10-11 19:36:27

代码如下点击(此处)折叠或打开#include #include int main(int argc, char **argv){   MYSQL *con = mysql_init(NULL);.........【阅读全文】

阅读(1722) | 评论(0) | 转发(0)

发布时间:2016-08-10 09:55:37

sudo apt-get install libboost-all-dev......【阅读全文】

阅读(2561) | 评论(0) | 转发(0)

发布时间:2015-01-23 14:57:10

继续看大牛的blog这里多说一点在C++中,我们可能会使用线程安全的智能指针AutoPtr或是别的一些容器,只要是线程安全的,其不管三七二十一都要上锁,上锁是个成本很高的操作,使用AutoPtr会让我们的系统性能下降得很快,如果你可以保证不会有线程并发问题,那么你应该不要用AutoPtr。我记得我上次我们同事去掉智能指针的引.........【阅读全文】

阅读(3136) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册