Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endp ...
分类:
其他好文 时间:
2020-12-04 11:23:41
阅读次数:
6
今天写sql语句时,相对字符串类型的数字进行排序,怎么做呢? 需要先转换成数字再进行排序 1.直接用加法 字符串+0 eg: select * from orders order by (mark+0) desc eg: 以分类字段进行分组,获取分类总数amount,和qty(数量),最后以amou ...
分类:
数据库 时间:
2020-12-04 11:19:26
阅读次数:
25
decltype介绍 为什么需要decltype decltype(auto) 注意(entity) 与模板参数推导和auto推导一样,decltype的结果大多数情况下是正常的,但是也有少部分情况是反直觉的。 decltype介绍 给定一个name或者expression,decltype会告诉你 ...
分类:
编程语言 时间:
2020-12-03 11:29:37
阅读次数:
8
由于误操作:rpm-eglbc-2.12.....--nodeps后造成系统崩溃,解决方法。光盘引导,选择:Rescue一直点击进入sh模式后输入:#mount/dev/cdrom/media#cd/media/Package#rpm-ivhglibc*.rpm--root/mnt/sysimage--nodeps--force#reboot后重启问题解决
分类:
其他好文 时间:
2020-12-01 11:46:33
阅读次数:
3
1、数字 int(整型) 在32位机器上,整数的位数为32位,取值范围为-2**31~2**31-1,即-2147483648~2147483647 在64位系统上,整数的位数为64位,取值范围为-2**63~2**63-1,即-9223372036854775808~922337203685477 ...
分类:
编程语言 时间:
2020-11-30 15:51:46
阅读次数:
10
void gridView1_MouseDown(object sender, MouseEventArgs e) { GridHitInfo info; Point pt = winGridView1.gridView1.GridControl.PointToClient(Control.Mous ...
分类:
其他好文 时间:
2020-11-26 15:06:38
阅读次数:
5
一、问题如下: 1、报错信息: Uncaught (in promise) TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': String contains non ISO-8859-1 code point. ...
分类:
Web程序 时间:
2020-11-25 12:12:02
阅读次数:
10
组件化开发 基本概念 在最开始的时候,已经大概的聊了聊Vue是单页面开发,用户总是在一个页面上进行操作,看到的不同内容也是由不同组件构成的。 通过用户的操作,Vue将会向用户展示某些组件,也会隐藏某些组件。 一个Vue的项目就是一个Vue的实例对象。而用户看到的页面则是Vue.component的实 ...
分类:
其他好文 时间:
2020-11-25 12:07:25
阅读次数:
7
ref 有三种用法: 1、ref 加在普通的元素上,用this.ref.name 获取到的是dom元素 2、ref 加在子组件上,用this.ref.name 获取到的是组件实例,可以使用组件的所有方法。 3、如何利用 v-for 和 ref 获取一组数组或者dom 节点 注意: 1、ref 需要在 ...
分类:
其他好文 时间:
2020-11-24 12:30:55
阅读次数:
9
一、挂载、卸载光盘方案一://1、将ISO文件上传到/home/目录下[root@localhosthome]#lsCentOS-7-x86_64-DVD-1611.isosoft.bak//2、创建挂载点[root@localhostmnt]#mkdircentos7.3//3、将ISO文件挂载到/mnt/centos7.3目录下[root@localhostmnt]#mount-tiso966
分类:
系统相关 时间:
2020-11-24 12:22:31
阅读次数:
10