安装Erlang比较简单下载Erlang的压缩包输入tar -zxvf 压缩包 解压进入解压的目录下 输入./configure在./configure执行完成后,输入make然后输入make install即可完成运行时输入erl即可进入交互命令行模式Prolog我安装的是Swing-Prolog...
分类:
其他好文 时间:
2014-07-07 14:25:21
阅读次数:
206
如果在这时就进行配置安装Mono的话,会在make阶段得到一个“找不到 Microsoft.Portable.Common.targets 文件”的错误提示,所以需要先进行如下处理:#> cd (mono安装路径的前缀)/mono-3.4.0/mcs/tools/xbuild/targets#> c...
分类:
其他好文 时间:
2014-07-01 22:55:27
阅读次数:
239
在Linux下编译Lua时,我一般都是使用的make generic,这样编译没有什么问题,运行lua的程序也都OK,但是,这样在加载外部的C动态链接库,却总是报下面的错误dynamic libraries not enabled; check your Lua installation查找了半天资...
分类:
其他好文 时间:
2014-07-01 19:59:40
阅读次数:
812
Live broadcasting with arduinoget a pc , make it run linux. make arduino catch the weather sensor and then transport the information to the PC side. P...
分类:
其他好文 时间:
2014-07-01 12:15:21
阅读次数:
167
一开始是因为curl无法访问https网上说,要重新编译安装curl
我就下载..
./configure
make
make install
结果出现
curl:
(2) Failed Initialization
好吧,我整个人都跪了.
满世界找原因...
找到这个
It means that the curl binary is picking ...
分类:
其他好文 时间:
2014-07-01 08:07:03
阅读次数:
545
①push_heap算法
下面是push_heap算法的实现细节。该函数接收两个迭代器,用来表现一个heap底部容器(vector)的头尾,并且新元素已经插入到底部的最尾端。
template
inline void push_heap(RandomAccessIterator first,RandomAccessIterator last)
{
//注意,此函数被调用时,新...
分类:
其他好文 时间:
2014-06-30 09:25:57
阅读次数:
239
题目链接:http://poj.org/problem?id=2442
题目大意:给出一个m*n的矩阵,从每一行中取出一个数相加,能得到n^m个不同的结果,要求输出其中前n项。
建立一个以n元数组为底层数组的堆,在这里,利用stl中的make_heap,pop_heap,push_heap等函数解决。
1.将第一组数据输入arr1数组,升序排序。
2.将接下来的数据输入到arr2数组中,并...
分类:
其他好文 时间:
2014-06-29 23:25:31
阅读次数:
259
1、解压
# tar jxvf busybox-1.21.1.tar.bz2
2、配置
# cd busybox-1.21.1
# make menuconfig
Busybox Settings --->
General Configuration --->
[ ] Enable options for full-blown desktop system...
分类:
其他好文 时间:
2014-06-29 22:21:57
阅读次数:
332
An iterative way of writing quick sort:#include #include #include using namespace std;void quickSort(int A[], int n) { stack> stk; stk.push(make_pair(...
分类:
其他好文 时间:
2014-06-29 20:16:45
阅读次数:
179
原地址:http://blog.csdn.net/emoonight/article/details/18002913fore you can save or load a Texture, you must make it editable. To do this, click the Textu...
分类:
其他好文 时间:
2014-06-29 19:03:48
阅读次数:
452