使用如下命令即可:sudo yum install gcc gcc-c++ make -y
分类:
其他好文 时间:
2015-07-21 12:17:41
阅读次数:
150
2300 years ago, Moriya Suwako was defeated by Yasaka Kanako in the Great Suwa War. As the goddess of mountains in Gensokyo, she was planning to make
a comeback and regain faith among humans....
分类:
其他好文 时间:
2015-07-20 21:40:21
阅读次数:
140
问题: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0......
分类:
Web程序 时间:
2015-07-20 19:11:33
阅读次数:
110
STL中与堆相关的4个函数——建立堆make_heap(),在堆中添加数据push_heap(),在堆中删除数据pop_heap()和堆排序sort_heap():
头文件 #include
下面的_First与_Last为可以随机访问的迭代器(指针),_Comp为比较函数(仿函数),其规则——如果函数的第一个参数小于第二个参数应返回true,否则返回false。
建立堆
make_heap(_First, _Last, _Comp)
默认是建立最大堆的。对int类型,可...
分类:
其他好文 时间:
2015-07-20 16:43:31
阅读次数:
117
http://www.ruanyifeng.com/blog/2015/02/make.html代码变成可执行文件,叫做编译(compile);先编译这个,还是先编译那个(即编译的安排),叫做构建(build)。Make是最常用的构建工具,诞生于1977年,主要用于C语言的项目。但是实际上 ,任何只...
分类:
其他好文 时间:
2015-07-20 12:32:11
阅读次数:
130
资瓷点这里阅读该文章O_o250Solution水题,最暴力的方法枚举即可Code#include
using namespace std;
#define pb push_back
#define mp make_pair
#define F first
#define S second
typedef long long LL;
typedef pair<int,...
分类:
其他好文 时间:
2015-07-19 16:29:28
阅读次数:
152
pair
1. 概念:pair是 一种模版类型,每个pair 可以存储两个值,这两种值的类型无限制。也可以将自己写的struct类型的的对象放进去。
2. 用法:
pairp (1,2);
pair p1= make_pair(1,2);
3. 编写程序读入一系列string和int型数据,将每一组存储在一个pair对象中,然后将这些pair对象存储在vector容器并显示
#inclu...
分类:
其他好文 时间:
2015-07-19 13:32:15
阅读次数:
119
wgethttp://www.keepalived.org/software/keepalived-1.2.1.tar.gztar
zxfkeepalived-1.2.1.tar.gz;cd
keepalived-1.2.1;./configure--with-kernel-dir=/usr/src/kernels/2.6.18-164.el5-i686&&make&&makeinstall内核需要查看,,,如果是32位的自行修改keep..
分类:
其他好文 时间:
2015-07-19 06:41:15
阅读次数:
230
特征屏幕轮番出现checking的字符基本可以确定系统时间是有问题: checking?for?--enable-universalsdk...?no? checking?for?--with-universal-archs...?32-bit? checking?MACHDEP...?linux2? checking...
分类:
其他好文 时间:
2015-07-18 22:53:10
阅读次数:
580
rJava是Java通过JRI调用R所要安装的包。配置起来比较麻烦,我参考网上进行配置,使用rJava包中example里面的示例测试,控制台显示: Cannot find JRI native library! Please make sure that the JRI native libra....
分类:
编程语言 时间:
2015-07-18 18:22:10
阅读次数:
241