摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 4 #define OK 1 5 #define ERROR 0 6 #define OVERFLOW -2 7 8 typedef char elemType; 9 typedef struct _QNode{ 10 elemType data; 11 ... 阅读全文
posted @ 2017-12-03 19:50 ixummer 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 4 #define OK 1 5 #define ERROR 0 6 #define OVERFLOW -2 7 #define STACKINITSIZE 100 8 #define STACKINCREASMENT 10 9 10 typedef char el... 阅读全文
posted @ 2017-12-01 21:24 ixummer 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 4 #define OK 1 5 #define ERROR 0 6 7 typedef char elemType; 8 typedef struct _DuLNode{ 9 elemType data; 10 struct _... 阅读全文
posted @ 2017-12-01 13:01 ixummer 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 4 #define OK 1 5 #define ERROR 0 6 7 typedef int elemType; 8 typedef struct _LNode{ 9 elemType data; 10 struct _LNode *Next; ... 阅读全文
posted @ 2017-11-28 13:43 ixummer 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 4 #define LIST_INIT_SIZE 1000 5 #define LISTINVRESEMENT 100 6 #define OK 1 7 #define ERROR 0 8 #define OVERFLOW -2 9 10 typedef int e... 阅读全文
posted @ 2017-11-27 11:29 ixummer 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 一、数字相关的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9] 阅读全文
posted @ 2017-11-24 20:35 ixummer 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 1.它是java的web应用的安全目录。所谓安全就是客户端无法访问,只有服务端可以访问的目录。 2.web.xml项目部署文件。 3.classes文件夹,用以防止*.class文件 4.lib文件夹,用于存放需要的jar包。 WEB-INF中配置web.xml文件,添加 <welcome-file 阅读全文
posted @ 2017-11-15 14:59 ixummer 阅读(1761) 评论(0) 推荐(0) 编辑
摘要: /bin :存放各种平台下启动和停止tomcat的命令文件,如startup.bat,shutdown.bat /conf:存放tomcat的各种配置文件 /lib:存放tomcat服务器所需的各种jar文件 /log:存放在tomcat的日志文件 /temp:tomcat运行时用于存放临时文件 / 阅读全文
posted @ 2017-11-15 14:46 ixummer 阅读(807) 评论(0) 推荐(0) 编辑
摘要: init方法: init(ServletConfig config) Called by the servlet container to indicate to a servlet that the servlet is being placed into service. 在 Servlet 的 阅读全文
posted @ 2017-11-01 15:04 ixummer 阅读(4848) 评论(0) 推荐(0) 编辑