以下包含有前后序的递归和非递归算法 #include<stdio.h> #include<stdlib.h> #define MAXSIZE 20 typedef struct node{ int data; struct node* right; struct node* left; }Node; ...
分类:
编程语言 时间:
2020-05-27 00:51:06
阅读次数:
72
块级元素 如 div 可以设置margin-top、margin-bottom 、margin-left、margin-right。 但是 margin的 auto值 设置水平方向的,可以直接水平居中;想要垂直居中需要子绝父相,给自己添加绝对定位后并且将top bottom right left赋值 ...
分类:
其他好文 时间:
2020-05-26 20:50:03
阅读次数:
77
cat cat -A显示控制字符 -s禁止输出多个空白行 -n给文本添加行号 cat > foo.txt The quick brown fox jumped over the lazy dog. cat -ns foo.txt 1 The quick brown fox 2 3 jumped ov ...
分类:
系统相关 时间:
2020-05-26 20:17:07
阅读次数:
72
多表关联关系 一对一关系 通过主键关联主键实现 通过外键关联主键可以实现 案例:游戏用户(user)和账号(game_num) 一对一实现 第一种方式,通过主键关联主键实现,建完表后添加外键 用户表user create table user( id int primary key auto_inc ...
分类:
其他好文 时间:
2020-05-26 20:08:12
阅读次数:
61
// path模块提供了一些用于处理文件与目录的路径的实用工具, 使用时需先加载模块 // 加载path模块 var path = require('path'); // path.join([...paths]) 方法使用平台特定的分隔符作为定界符将所有给定的 path 片段连接在一起,然后规范化 ...
分类:
Web程序 时间:
2020-05-26 18:13:16
阅读次数:
72
1.建一个遮罩层div <div id="cover"></div> 2.设置遮罩层样式 #cover { position: absolute; left: 0px; top: 0px; background: rgba(0, 0, 0, 0.5); width: 100%; /*宽度设置为100 ...
分类:
移动开发 时间:
2020-05-26 15:07:58
阅读次数:
229
out_join out_join Table of Contents 1. 外连接说明 2. 示例 1 外连接说明 (1)左外连接 (左边的表不加限制), 使用关键词 left [outer] join 表示,查询结果为左侧表全量数据输出,右侧表进行匹配输出,未匹配到的数据为空。 (2)右外连接( ...
分类:
数据库 时间:
2020-05-26 15:01:59
阅读次数:
70
电商毕业设计里的一个购物车demo,效果图: .vue文件 <template> <div class="box"> <div class="flex-left tit"> <span v-for="(i,inx) in tit" :key="inx" class="flex-around">{{i ...
分类:
Web程序 时间:
2020-05-26 12:22:36
阅读次数:
564
UPDATE `cloudscape.glib`.rsstationinfo t1 JOIN `cloudscape.hyc`.smokevehicle t2 ON t1.RSStationCode = t2.RSStationCodeSET t2.RSStationName = t1.RSStat ...
分类:
数据库 时间:
2020-05-26 12:18:14
阅读次数:
85