#include "stdio.h"/*int* set(int a,int *c){int
*b;b=malloc(sizeof(int)*3);c[0]=a;c[1]=1+a;c[2]=2+a;b[0]=13;b[1]=14;b[2]=15;return
b;}*/char *set(void)...
分类:
编程语言 时间:
2014-05-01 13:56:31
阅读次数:
306
1. 查看当前所用Perl版本号perl –v2. 一个简单的Perl程序print "hello
world";#这是注释 执行它:Perl helloWorld.txt 文件名后缀可以是pl可以是txt3. 一个稍微复杂点的Perl程序 @line =
`perldoc -u -f atan2....
分类:
其他好文 时间:
2014-05-01 12:48:19
阅读次数:
318
查询版本: perl -M模块名 -e "print
模块名->VERSION"一个例子:查看LWP模块版本(Windows操作系统下)
分类:
其他好文 时间:
2014-05-01 12:44:30
阅读次数:
381
用于打开chrome浏览器中的"irc://*"#cp
/usr/share/applications/xchat.desktop
/home/zsj/.local/share/applications/irc.desktop#xdg-mime default irc.desktop
x-schem...
分类:
其他好文 时间:
2014-05-01 11:16:02
阅读次数:
617
When multiple threads share mutable data, each
thread that reads or writes the data must perform synchronization. Without
synchronization, there is no...
分类:
数据库 时间:
2014-05-01 09:14:25
阅读次数:
506
1){print_r($argv);}?>另存为 ./test.php[root@xiuran
test]#php ./test.php xxx fdf3Array( [0] =>test.php [1] => xxx [2] =>
fdf)
分类:
Web程序 时间:
2014-05-01 06:12:29
阅读次数:
379
一、正则表达式的使用
cd /usr/share/dict
1、找出words文件下所有以a开头t结尾的单词
egrep "^a.*t$" words
2、匹配以abcde开头,以at结尾的单词
egrep "\" words
3、以大写字母开头,以t结尾
egrep "^[[:upper:]]t$" words
二、管道的使用
egrep "^a.*t$" words|wc -...
分类:
系统相关 时间:
2014-04-30 22:32:38
阅读次数:
372
史上最短小精悍的javascript编写的俄罗斯方块游戏,仅仅60行代码,代码下载地址:http://www.zuidaima.com/share/1759652641295360.htm...
分类:
编程语言 时间:
2014-04-29 13:41:22
阅读次数:
379
#生成excel
#ljl
use Spreadsheet::WriteExcel;
my %us;
while(($key, $value) = each %us){
print "$key|$value\n";
}
# 创建一个新的EXCEL文件
my $workbook = Spreadsheet::WriteExcel->new('poi_count_top15....
分类:
其他好文 时间:
2014-04-29 13:33:21
阅读次数:
327
超轻量级DI容器框架Google Guice与Spring框架的区别教程详解及其demo代码片段分享,代码下载地址:http://www.zuidaima.com/share/1759689106541568.htm...
分类:
编程语言 时间:
2014-04-29 13:23:21
阅读次数:
526