#include <stdio.h> #include <string.h> /** * 结构体 */ struct Books{ char a[30]; char b[30]; int c; }Book1,Book2; /** * 结构体作为参数 * @param book [descriptio ...
分类:
其他好文 时间:
2020-06-10 18:47:30
阅读次数:
57
如何设置标题栏一直置顶固定显示? 只需要给标题栏所在的容器,以下设置: position: fixed; top: 0px; left: 0px; width: 100%; 位置固定在左上角,同时宽度填充满。当标题栏容器层级正常时,也可以使用position:absolute 以下是Position ...
分类:
Web程序 时间:
2020-06-10 16:02:16
阅读次数:
330
#include<stdio.h> #include<stdlib.h> //树的定义 typedef char DataType; typedef struct Node { DataType data; struct Node *lchild; struct Node *rchild; } Bi ...
分类:
其他好文 时间:
2020-06-10 13:21:05
阅读次数:
76
先切换到root权限 su root vim /etc/sysconfig/network-scripts/ifcfg-ens33 ens33是网络的名称 修改以下内容: BOOTPROTO=static ONBOOT=yes 增加以下内容: IPADDR=xxx.xxx.xxx.xxx NETMA ...
分类:
其他好文 时间:
2020-06-10 11:02:41
阅读次数:
62
https://dba.stackexchange.com/questions/84370/why-mysqldump-is-returning-with-error-1143-couldnt-execute-show-table-status ...
分类:
数据库 时间:
2020-06-10 09:35:52
阅读次数:
89
一、安装mockjs npm install mockjs 二、创建mock文件夹 三、创建mock文件 FzIdentNetCard.js import Mock from 'mockjs' const res = { "head": { "chanel": "DBK", "drbkdt": "2 ...
分类:
Web程序 时间:
2020-06-09 23:46:54
阅读次数:
126
描述: 我们在启动spring-boot,spring-cloud 项目时,是不是经常 遇到报错,但是在控制台 没有能找到 具体 报错信息,只是 提升,启动失败,缺乏具体的报错信息,这样就很不方便我们去找到 报错 原因!也就不能 解决问题。 解决小 技巧 我们在 springboot 应用的程序入口 ...
分类:
编程语言 时间:
2020-06-09 23:45:31
阅读次数:
130
root@vmuser:~# cat /proc/stat cpu 254339 26981 244855 60357611 81274 0 5266 4371 0 0cpu0 254339 26981 244855 60357611 81274 0 5266 4371 0 0intr 367409 ...
分类:
系统相关 时间:
2020-06-09 20:49:24
阅读次数:
70
解决方法: file-->project structure -->点击"+" >import module ...
分类:
其他好文 时间:
2020-06-09 20:28:25
阅读次数:
696
修改数据结构 基本的 API 已经定义好了,现在是个修改 Person 对象结构的好时机。只要修改 Person 结构体,数据库和 API 都会自动做出相应的修改。 我要做的是在 Person 结构体中添加 city 字段,就这一行,没有其他改动。 type Person struct { ID u ...