06 2018 档案
摘要:参考 https://blog.csdn.net/dyllove98/article/details/41120789 1,去官网下载最新的包 官网地址:http://nginx.org/download/ 也可以直接 wget http://nginx.org/download/nginx-1.9
阅读全文
摘要:1、下载php 官网下载:#wget http://cn2.php.net/get/php-7.2.7.tar.gz/from/a/mirror。(ps:应该是这么下载的,但是我下载的都是一个mirror文件不是压缩包,所以我是用的浏览器下载然后上传到linux服务器。具体原因未知) 2、解压php
阅读全文
摘要:/** * 并归排序 * Create by Administrator * 2018/6/26 0026 * 下午 5:13 **/ public class DArray { private long[] theArray; private int nElens; public DArray(int max){ theArray = ...
阅读全文
摘要:/** * 合并两个数组并排序 * 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){ ...
阅读全文
摘要:/** * 递归实现二分查找法 * 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...
阅读全文
摘要:ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server 此处是root账户没有本地数据库的访问权限,所以无法连接数据库,需要使用grant给root账户授权。 授权之前需要登录到数据库,使
阅读全文
摘要:/** * 递归实现变位字 * 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...
阅读全文
摘要:/** * 递归 * Create by Administrator * 2018/6/20 0020 * 上午 9:41 **/ public class TriangleApp { static int theNumber; public static void main(String[] args) throws IOException{ wh...
阅读全文
摘要:/** * 使用链表实现队列 * 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; } ...
阅读全文
摘要:/** * 使用链表实现队列 * 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; } ...
阅读全文
摘要:/** * 双端链表操作 * Create by Administrator * 2018/6/14 0014 * 下午 2:05 **/ class Link1 { public long dData; public Link1 next; public Link1(int id) { this.dData = id; } ...
阅读全文
摘要:/** * 单链表操作 * 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)...
阅读全文
摘要:运行测试: 请输入: (4+2*3)/2 For ( Stack (bottom-->top): For 4 Stack (bottom-->top): ( For + Stack (bottom-->top): ( For 2 Stack (bottom-->top): ( + For * Sta
阅读全文
摘要:/** * 队列 * Create by Administrator * 2018/6/11 0011 * 下午 3:27 **/ public class Queue { private int maxSize; private long[] queArray; private int front; //前 private int rear;...
阅读全文
摘要:测试控制台输入字符串:a{b(c]d} 结果:Error:] at 3
阅读全文
摘要:/** * 栈 * Create by Administrator * 2018/6/11 0011 * 上午 10:20 **/ public class StackX { private int maxSixe; private long[] stackArray; private int to
阅读全文
摘要:++a:如果++在前就会先把a+1。 a++:如果++在后就会先a然后在执行++的操作。代码: int a = 1; System.out.pritln(++a); //输出2 int s = 1; System.out.println(s++); //输出1 System.out.println(
阅读全文
摘要:/** * 数组的曾删改查 * 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...
阅读全文

浙公网安备 33010602011771号