C语言版本:#include /* aaaack but it's fast and const should make it shared text page. */static const unsigned char pr2six[256] ={ /* ASCII table */ ...
分类:
其他好文 时间:
2015-06-11 00:03:31
阅读次数:
255
1 #include 2 #include 3 using namespace std; 4 5 struct node 6 { 7 char c; 8 node * l; 9 node * r;10 };11 12 node * make_tree(string p...
分类:
其他好文 时间:
2015-06-10 18:43:20
阅读次数:
110
1 /* 2 Every tenant went up N floors would make the dissatisfied degree rise N * a + 0.5 * N * (N - 1) degrees, 3 every tenant went down N floors ...
分类:
其他好文 时间:
2015-06-10 17:09:41
阅读次数:
143
1,安装cronolog#wget#tarxvzfcronolog-1.6.2.tar.gz
#cdcronolog-1.6.2
#make
#makeinstall安装成功后运行whichcronolog会找到对应的路径/usr/local/sbin/cronolog2,修改tomcat的catalina.sh文件在tomcat的bin目录的catalina.sh中找到2行:org.apache.catalina.startup.Boots..
分类:
其他好文 时间:
2015-06-10 15:56:37
阅读次数:
126
ffmpeg在Linux下的编译相当简单,只需要configure ,再make 一下就可以了。
需要动态库的话在configure 后面加一个 --enable-shared 就ok了。
但在windows下就不是很容易了,在网上搜索了一下各种在windows下编译的方法,大多千篇一律,而且步骤繁琐,有的需要依赖很多库。而我只想像Linux下那样单纯方便的编译出ffmpeg里的几个...
重点内容背景,安装sysbench编译make报错:./libtool: line 841: X--tag=CC: command not found
../libtool: line 874: libtool: ignoring unknown tag : command not found
../libtool: line 841: X--mode=link: command not found...
分类:
其他好文 时间:
2015-06-09 20:02:58
阅读次数:
235
http://www.oschina.net/translate/top-10-mistakes-that-c-sharp-programmers-make英文原文:Top 10 Mistakes that C# Programmers Make关于C#C#是达成微软公共语言运行库(CLR)的少数语...
通过UbuntuMakefile总结而得#######makefile
#make支持三个通配符:“*”,“?”和“~”。
include
VPATH=src:../headers//文件搜索
{
1、vpath<pattern><directories>:为符合模式<pattern>的文件指定搜索目录<directories>。
2、vpath<pattern>..
分类:
其他好文 时间:
2015-06-09 17:40:59
阅读次数:
90
如果出现这样的错误:Project ERROR: Unknown module(s) in QT: svg
很 有可能 qmake 版本不一致造成的。
qmake , qtcreator , qtdesigner 和 QT 的版本必须一致。要么是 QT4 ,要么就是 QT5, qtcreator是QT5特有的core,ui编译IDE,其中ui编辑会调用qtdesigner. ...
分类:
其他好文 时间:
2015-06-09 17:20:19
阅读次数:
1385