10 2018 档案

摘要:线程 1.01 创建Worker线程THREAD_PARAM void CDemoDlg::OnBeginThread() { m_ThreadParam.hWnd = m_hWnd; //启动线程,初始为挂起状态 AfxBeginThread(ThreadProc, &m_ThreadParam) 阅读全文
posted @ 2018-10-23 23:05 osbreak 阅读(236) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h" #include #include #include #include #include using namespace std; using namespace boost; /* 定义一个MutiStruct key : 1. objectID 2. strName value: 对象指针STNode... 阅读全文
posted @ 2018-10-21 16:35 osbreak 阅读(1425) 评论(0) 推荐(0) 编辑
摘要:1、Cinatra是由C++开源社区purecpp发起的一个开源项目,是一个现代C++写的Web框架,旨在给用户提供一个易用、灵活和高性能的Web框架,让用户能完全专注于核心逻辑而无需关注http细节。 2、GitHub下载源码,https://github.com/qicosmos/cinatra 阅读全文
posted @ 2018-10-20 15:17 osbreak 阅读(3840) 评论(0) 推荐(0) 编辑
摘要:1、虚拟机Ubuntu 16.04,安装第三方库,perftools::tcmalloc。 2、Win10下vs2017创建linux项目。 3、项目>>属性>>VC++ 目录>>, 配置虚拟机头文件路径, 库路径。 4、项目>>属性>>链接器>>输入>>动态库名。输入项目中用到的库名,如 libt 阅读全文
posted @ 2018-10-20 12:15 osbreak 阅读(3658) 评论(0) 推荐(0) 编辑
摘要:1、安装好boost。 2、从官网下载mysql connector c++版本。 3、解压,复制 include/jdbc/cppconn 文件夹复制,到/usr/local/include/cppconn目录。,其他.h文件到到/usr/local/include/。4、复制lib64中库文件到 阅读全文
posted @ 2018-10-18 00:00 osbreak 阅读(1315) 评论(0) 推荐(0) 编辑
摘要:安装libunwind wget http://ftp.yzu.edu.tw/nongnu/libunwind/libunwind-1.1.tar.gz ./configure make make install 安装google-perftools wget -c -O gperftools-2. 阅读全文
posted @ 2018-10-16 00:15 osbreak 阅读(246) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示