06 2018 档案

摘要:参考 https://blog.csdn.net/dyllove98/article/details/41120789 1,去官网下载最新的包 官网地址:http://nginx.org/download/ 也可以直接 wget http://nginx.org/download/nginx-1.9 阅读全文
posted @ 2018-06-29 16:17 花儿为何那样红 阅读(271) 评论(0) 推荐(0)
摘要:1、下载php 官网下载:#wget http://cn2.php.net/get/php-7.2.7.tar.gz/from/a/mirror。(ps:应该是这么下载的,但是我下载的都是一个mirror文件不是压缩包,所以我是用的浏览器下载然后上传到linux服务器。具体原因未知) 2、解压php 阅读全文
posted @ 2018-06-28 12:44 花儿为何那样红 阅读(10321) 评论(2) 推荐(1)
摘要:/** * 并归排序 * Create by Administrator * 2018/6/26 0026 * 下午 5:13 **/ public class DArray { private long[] theArray; private int nElens; public DArray(int max){ theArray = ... 阅读全文
posted @ 2018-06-27 10:16 花儿为何那样红 阅读(230) 评论(0) 推荐(0)
摘要:/** * 合并两个数组并排序 * Create by Administrator * 2018/6/26 0026 * 下午 4:29 **/ public class MergeApp { public static void merge(int[] arrayA,int sizeA,int[] arrayB,int sizeB,int[] arrayC){ ... 阅读全文
posted @ 2018-06-26 16:54 花儿为何那样红 阅读(4171) 评论(0) 推荐(0)
摘要:/** * 递归实现二分查找法 * Create by Administrator * 2018/6/21 0021 * 上午 11:25 **/ class OrdArray{ private long[] a; private int nElems; public OrdArray(int max){ this.a = new long[m... 阅读全文
posted @ 2018-06-21 14:34 花儿为何那样红 阅读(678) 评论(0) 推荐(0)
摘要:ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server 此处是root账户没有本地数据库的访问权限,所以无法连接数据库,需要使用grant给root账户授权。 授权之前需要登录到数据库,使 阅读全文
posted @ 2018-06-20 15:31 花儿为何那样红 阅读(6228) 评论(0) 推荐(0)
摘要:/** * 递归实现变位字 * Create by Administrator * 2018/6/20 0020 * 上午 10:23 **/ public class AnagramApp { static int size; static int count; static char[] arrChar = new char[100]; publ... 阅读全文
posted @ 2018-06-20 11:04 花儿为何那样红 阅读(530) 评论(0) 推荐(0)
摘要:/** * 递归 * Create by Administrator * 2018/6/20 0020 * 上午 9:41 **/ public class TriangleApp { static int theNumber; public static void main(String[] args) throws IOException{ wh... 阅读全文
posted @ 2018-06-20 11:02 花儿为何那样红 阅读(219) 评论(0) 推荐(0)
摘要:/** * 使用链表实现队列 * Create by Administrator * 2018/6/19 0019 * 下午 4:37 **/ public class Link { public long dData; public Link next; public Link(long d){ this.dData = d; } ... 阅读全文
posted @ 2018-06-19 17:18 花儿为何那样红 阅读(202) 评论(0) 推荐(0)
摘要:/** * 使用链表实现队列 * Create by Administrator * 2018/6/19 0019 * 下午 4:37 **/ public class Link { public long dData; public Link next; public Link(long d){ this.dData = d; } ... 阅读全文
posted @ 2018-06-19 16:56 花儿为何那样红 阅读(147) 评论(0) 推荐(0)
摘要:/** * 双端链表操作 * Create by Administrator * 2018/6/14 0014 * 下午 2:05 **/ class Link1 { public long dData; public Link1 next; public Link1(int id) { this.dData = id; } ... 阅读全文
posted @ 2018-06-15 10:14 花儿为何那样红 阅读(123) 评论(0) 推荐(0)
摘要:/** * 单链表操作 * Create by Administrator * 2018/6/14 0014 * 下午 2:05 **/ public class Link { public int iData; public double dData; public Link next; public Link(int id, double dd)... 阅读全文
posted @ 2018-06-14 15:35 花儿为何那样红 阅读(231) 评论(0) 推荐(0)
摘要:运行测试: 请输入: (4+2*3)/2 For ( Stack (bottom-->top): For 4 Stack (bottom-->top): ( For + Stack (bottom-->top): ( For 2 Stack (bottom-->top): ( + For * Sta 阅读全文
posted @ 2018-06-14 12:21 花儿为何那样红 阅读(1721) 评论(0) 推荐(0)
摘要:/** * 队列 * Create by Administrator * 2018/6/11 0011 * 下午 3:27 **/ public class Queue { private int maxSize; private long[] queArray; private int front; //前 private int rear;... 阅读全文
posted @ 2018-06-11 16:33 花儿为何那样红 阅读(211) 评论(0) 推荐(0)
摘要:测试控制台输入字符串:a{b(c]d} 结果:Error:] at 3 阅读全文
posted @ 2018-06-11 15:01 花儿为何那样红 阅读(534) 评论(0) 推荐(0)
摘要:/** * 栈 * Create by Administrator * 2018/6/11 0011 * 上午 10:20 **/ public class StackX { private int maxSixe; private long[] stackArray; private int to 阅读全文
posted @ 2018-06-11 14:11 花儿为何那样红 阅读(222) 评论(0) 推荐(0)
摘要:++a:如果++在前就会先把a+1。 a++:如果++在后就会先a然后在执行++的操作。代码: int a = 1; System.out.pritln(++a); //输出2 int s = 1; System.out.println(s++); //输出1 System.out.println( 阅读全文
posted @ 2018-06-11 11:07 花儿为何那样红 阅读(1745) 评论(0) 推荐(0)
摘要:/** * 数组的曾删改查 * Create by Administrator * 2018/6/8 0008 * 上午 9:54 **/ public class HighArray { private long[] a; private int nElems; public HighArray(int max){ a = new long... 阅读全文
posted @ 2018-06-08 15:05 花儿为何那样红 阅读(290) 评论(0) 推荐(0)