2020年3月26日

摘要: vector是一种容器,它能够像容器一样存放各种类型的对象,vector是一个能够存放任意类型的动态数组,能够增加和压缩数据。 1 、基本操作 (1)头文件#include<vector>. (2)创建vector对象,vector<int> vec; (3)尾部插入数字:vec.push_back 阅读全文
posted @ 2020-03-26 14:33 fancing 阅读(142) 评论(0) 推荐(0) 编辑

2018年10月5日

摘要: grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; 阅读全文
posted @ 2018-10-05 09:29 fancing 阅读(154) 评论(0) 推荐(0) 编辑

2018年9月3日

摘要: iconfont图标库下载 可在 http://www.iconfont.cn 下载 下载完成后的目录中有字体文件: iconfont.ttf 拷贝字体文件 Android: 在 Android/app/src/main 目录下新建文件夹 assets/fonts/然后将iconfont.ttf文件 阅读全文
posted @ 2018-09-03 23:00 fancing 阅读(1813) 评论(1) 推荐(1) 编辑

2018年8月22日

摘要: react native的0.56.0版本在windows下有bug不能正常运行请init 0.55.4的版本 注意version前是两个杠 阅读全文
posted @ 2018-08-22 22:18 fancing 阅读(338) 评论(0) 推荐(0) 编辑

2018年5月23日

摘要: 百度出来的东西没有一个有用的 终极解决方案: 1、将extension=curl前的分号去掉; 2、将php目录下的libssh2.dll放到apache安装目录的bin目录下 3、重启apache ok,完美解决 阅读全文
posted @ 2018-05-23 15:14 fancing 阅读(4284) 评论(1) 推荐(2) 编辑

2018年3月23日

摘要: // NodeTest.cpp : 定义控制台应用程序的入口点。 //简单链表 #include "stdafx.h" #include "stdlib.h" struct node { int data; struct node *next; }; int _tmain(int argc, _TCHAR* argv[]) { struct node *head, *p, *q, *t;... 阅读全文
posted @ 2018-03-23 20:32 fancing 阅读(211) 评论(0) 推荐(0) 编辑

2018年3月21日

摘要: 快速排序基于二分思想,最差时间复杂度为O(N2),平均时间复杂度为O(NlogN) 阅读全文
posted @ 2018-03-21 20:26 fancing 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 时间复杂度 O(N2),冒泡排序具有非常高的时间复杂度,是颇受争议的一种算法。 阅读全文
posted @ 2018-03-21 19:52 fancing 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 桶一种排序是速度最快的一种算法,时间复杂度为O(M+N),但也通过牺牲空间获得了时间,如果要排序的数据最大为100000,那么要定义a[100000]的数组,无疑造成巨大的内存空间浪费。 阅读全文
posted @ 2018-03-21 16:20 fancing 阅读(730) 评论(0) 推荐(0) 编辑

2018年2月6日

摘要: 本人阿里云购买的center os7.2系统,小程序只支持https,因此需要配置https 安装apache yum -y install httpd systemctl start httpd apache配置虚拟目录 <VirtualHost *:80> DocumentRoot /var/w 阅读全文
posted @ 2018-02-06 09:54 fancing 阅读(327) 评论(0) 推荐(0) 编辑