题目描述: Grading hundreds of thousands of Graduate Entrance Exams is a hard work. It is even harder to design a process to make the results as fair as po...
分类:
其他好文 时间:
2014-07-19 19:09:03
阅读次数:
282
A relational database, like mysql, provides transactions to wrap several operations in one unit, make them all pass or all fail. All isolation levels ...
分类:
其他好文 时间:
2014-07-18 17:21:39
阅读次数:
287
后序——终 于到写结束语的时候了,以上基本上就是GNU make的Makefile的所有细节了。其它的产商的make基本上也就是这样的,无论什么样的make,都是以文件的依赖性为基础的,其基本是都是遵 循一个标准的。这篇文档中80%的技术细节都适用于任何的make,我猜测"函数"那一章的内容可能不是...
分类:
系统相关 时间:
2014-07-18 16:13:25
阅读次数:
256
# pacman -S apache-ant参考:http://blog.csdn.net/linshutao/article/details/6638116
分类:
其他好文 时间:
2014-07-18 14:35:23
阅读次数:
241
1 make命令make首先是一个编译管理工具,供开发者使用的。你写一个简单的程序,源文件只有一两个,可以直接编译。但当源文件非常多时,逐一编译就会非常麻烦,并且有些一源文件是之前编译过的,如果重新编译,会非常浪费时间,特别是多人合作的大型程序。对此场景,可以使用make工具。make工具从读入一个...
分类:
其他好文 时间:
2014-07-18 14:06:02
阅读次数:
212
【练习2.1】
请定义出make-rat的一个更好的版本,使之可以正确处理整数和负数。当有理数为正时,make-rat应当将其规范化,使它的分子和分母都是正的。如果有理数为负,那么就应只让分子为负。
【分析】
分子、分母的符号总共有四种情况:
1. 分子、分母都为正数,
2. 分子为负数,分母为正数。
这两种情况下,输入和输出一致。
3. 分子、分母都为负数,
4. 分子为正数,分...
分类:
其他好文 时间:
2014-07-18 13:27:35
阅读次数:
252
nginx网站服务的安装与配置1.编写脚本,以安装nginx编写脚本前须知nginx的安装环境此案例提供两个版本的nginx(nginx-0.8.55.tar.gznginx-1.0.5.tar.gz)其为源码包,需要gcc环境(gccgcc-c++make)以及pcrepcre-develsslopenssl在root家目录下新建脚本文件install.sh[root@loc..
分类:
Web程序 时间:
2014-07-18 13:06:17
阅读次数:
368
Faced with the upcoming exam, Some useful methods referred to file operation drew tremenous attention. Now I make a summary to reading file.
import java.io.BufferedReader;
import java.io.BufferedWri...
分类:
其他好文 时间:
2014-07-18 12:26:25
阅读次数:
274
1、检查freetype是否安装
rpm -qa | grep freetype
没有的话编译freetype
这里下载
./configure --prefix=/usr/local/freetype
make && make install 即可,没有花头
2、检查libjpeg是否安装
rpm -qa | grep libjpeg
没有的话编译libjpeg
...
分类:
系统相关 时间:
2014-07-18 11:10:56
阅读次数:
256
使用条件判断——————使用条件判断,可以让make根据运行时的不同情况选择不同的执行分支。条件表达式可以是比较变量的值,或是比较变量和常量的值。一、示例下面的例子,判断$(CC)变量是否“gcc”,如果是的话,则使用GNU函数编译目标。libs_for_gcc = -lgnunormal_libs...
分类:
系统相关 时间:
2014-07-18 09:33:18
阅读次数:
271