上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 23 下一页
摘要: (.pb.h:9:42: fatal error: google/protobuf/stubs/common.h: No such file or directory 看这个就应该知道是没有找到头文件,那么可以使用g++ 的-I 参数: -I/usr/local/lib/protobuf/inclu 阅读全文
posted @ 2016-05-12 13:57 OracleLoyal 阅读(4566) 评论(0) 推荐(1)
摘要: 1:需要安装sudo apt-get install x11-apps libwayland-ltst-client0 libtxc-dxtn-s2tc0 x11-session-utils x11-xfs-utils libxrandr-ltst2 libwayland-ltst-server0 阅读全文
posted @ 2016-05-12 13:30 OracleLoyal 阅读(294) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-05-12 10:23 OracleLoyal 阅读(1) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-05-12 09:19 OracleLoyal 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-05-11 16:29 OracleLoyal 阅读(1) 评论(0) 推荐(0)
摘要: STL算法部分主要由头文 件<algorithm>,<numeric>,<functional>组成。要使用 STL中的算法函数必须包含头文件<algorithm>,对于数值算法须包 含<numeric>,<functional>中则定义了一些模板类,用来声明函数对象。 STL中算法大致分为四类: 阅读全文
posted @ 2016-05-11 15:21 OracleLoyal 阅读(202) 评论(0) 推荐(0)
摘要: 标准模板库就是类与函数模板的大集合。STL共有6种组件:容器,容器适配器,迭代器,算法,函数对象和函数适配器。 ①序列容器 基本的序列容器是上面图中的前三类: 关于三者的优缺点主要是: A:vector<T>矢量容器:可以随机访问容器的内容,在序列末尾添加或删除对象,但是因为是从尾部删除,过程非常慢 阅读全文
posted @ 2016-05-10 13:51 OracleLoyal 阅读(281) 评论(0) 推荐(0)
摘要: C++头文件一览 C、传统 C++ #include <assert.h> 设定插入点#include <ctype.h> 字符处理#include <errno.h> 定义错误码#include <float.h> 浮点数处理#include <fstream.h> 文件输入/输出#include 阅读全文
posted @ 2016-05-10 13:32 OracleLoyal 阅读(208) 评论(0) 推荐(0)
摘要: //#include"init.hpp"#include<string>#include<stdio.h>#include<string.h>#include<stdlib.h> using namespace std; typedef struct global_configure { strin 阅读全文
posted @ 2016-05-09 16:33 OracleLoyal 阅读(259) 评论(0) 推荐(0)
摘要: 背景 • 今天互联网应用服务程序普遍使用多线程来提高与多客户链接时的效率;为了达到最大的吞吐量,事务服务器在单独的线程上运行服务程序; GUI应用程序将那些费时,复杂的处理以线程的形式单独运行,以此来保证用户界面能够及时响应用户的操作。这样使用多线程的例子还有很多。 • 跨平台 创建线程 • 头文件 阅读全文
posted @ 2016-05-09 14:39 OracleLoyal 阅读(203) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 23 下一页