摘要: 一 javascript正则表达式的基本知识1 javascript 正则对象创建 和用法声明javascript 正则表达式var reCat = new RegExp("cat"); 你也可以 var reCat = /cat/; //Perl 风格 (推荐)2 学习最常... 阅读全文
posted @ 2014-08-10 10:05 商商-77 阅读(156) 评论(0) 推荐(0)
摘要: followmouse650) this.width=650;" border="0" alt="" src="http://img1.51cto.com/attachment/201203/095507327.png" /> 阅读全文
posted @ 2014-08-10 10:05 商商-77 阅读(126) 评论(0) 推荐(0)
摘要: 650) this.width=650;" border="0" alt="" src="http://img1.51cto.com/attachment/201203/094846871.png" /> 阅读全文
posted @ 2014-08-10 10:05 商商-77 阅读(171) 评论(0) 推荐(0)
摘要: Js日期选择器并自动加入到输入框中650) this.width=650;" border="0" alt="" src="http://img1.51cto.com/attachment/201203/091957609.png" /> 阅读全文
posted @ 2014-08-10 10:05 商商-77 阅读(505) 评论(0) 推荐(0)
摘要: 利用 JAVA 操作 EXCEL 文件Rubber (userid@us.ibm.com),就叫我Rubber吧,我是一个Java迷,希望我们能成为朋友,我的Eamil: tim@trend.com.cn,我的联系电话0755-83501377 简介:使用 Windows 操作系统的朋友对 Exce... 阅读全文
posted @ 2014-08-10 10:04 商商-77 阅读(168) 评论(0) 推荐(0)
摘要: rand产生随机数#include"stdio.h" #include"stdlib.h" voidmain() { inti; for(i=0;isrand设置随机事件的种子函数#include"stdio.h" #include"stdlib.h" #include"time.h" voidma... 阅读全文
posted @ 2014-08-10 10:04 商商-77 阅读(117) 评论(0) 推荐(0)
摘要: 写程序#include"sys/ipc.h" #include"sys/shm.h" #include"sys/types.h" #include"unistd.h" #include"stdio.h" #include"string.h" typedefstruct{ charname[4]; i... 阅读全文
posted @ 2014-08-10 10:04 商商-77 阅读(272) 评论(0) 推荐(0)
摘要: #include#include#include#defineSEM_PATH"/home/my_sem"#definemax_tries3intsemid;main(){intflag1,flag2,key,i,init_ok,tmperrno;structsemid_dssem_info;str... 阅读全文
posted @ 2014-08-10 10:04 商商-77 阅读(217) 评论(0) 推荐(0)
摘要: #include #include #include #include #include #include #include #include #defineMAXSEM5/*声明三个信号量ID*/ intfullid; intemptyid; intmutxid; intmain(){ struc... 阅读全文
posted @ 2014-08-10 10:04 商商-77 阅读(355) 评论(0) 推荐(0)
摘要: 服务器#include"sys/types.h"#include"sys/msg.h"#include"sys/ipc.h"#defineMSGKEY75structmsgform{longmtype;charmtext[1000];}msg;voidserver(){intmsgid;msgid=... 阅读全文
posted @ 2014-08-10 10:04 商商-77 阅读(225) 评论(0) 推荐(0)