代码小示例: 如果点击确定时,需要根据弹窗中的控件状态来判断是否关闭弹窗,则需要使用注释状态下的代码。 ...
分类:
其他好文 时间:
2017-03-11 21:38:00
阅读次数:
186
(1)GPIO_Mode_AIN 模拟输入 (2)GPIO_Mode_IN_FLOATING 浮空输入(3)GPIO_Mode_IPD 下拉输入 (4)GPIO_Mode_IPU 上拉输入 (5)GPIO_Mode_Out_OD 开漏输出(6)GPIO_Mode_Out_PP 推挽输出(7)GPIO ...
分类:
其他好文 时间:
2017-02-16 14:26:57
阅读次数:
169
在 Swift 中,所有的基本类型:整数(Integer)、浮点数(floating-point)、布尔值(Boolean)、字符串(string)、数组(array)和字典(dictionary),都是值类型,并且在底层都是以结构体的形式所实现。 1.测试数组是否为值类型 结果截图: 2.测试字典 ...
分类:
编程语言 时间:
2017-02-14 12:23:37
阅读次数:
187
atof 1. 函数名: atof 功 能: 把字符串转换成浮点数 名字来源:ascii to floating point numbers 的缩写 用 法: double atof(const char *nptr); atof 1. 函数名: atof 功 能: 把字符串转换成浮点数 名字来源: ...
分类:
其他好文 时间:
2017-02-05 22:33:57
阅读次数:
308
Segments Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13514 Accepted: 4331 Description Given n segments in the two dimensional space, wr ...
分类:
其他好文 时间:
2017-01-27 11:53:49
阅读次数:
211
1, abs() 取绝对值 1 #abs(x) 2 #Return the absolute value of a number. 3 # The argument may be an integer or a floating point number. 4 # If the argument i ...
分类:
其他好文 时间:
2017-01-24 17:27:37
阅读次数:
243
一天等于24*60*60 估算为25 * 4 000 = 100 000 =10^5(100k) 三生三世为10 000 000 000=10^10 也就是说三生三世中的一天就是相当于一天中的一秒 现在普通的PC机cpu一秒钟可以进行的运算为10^9(1G)次整数(浮点)运算(1 000 000 0 ...
分类:
其他好文 时间:
2017-01-19 00:59:42
阅读次数:
1004
neutron port-list neutron port-delete neutron floatingip-list neutron floatingip-delete ...
分类:
其他好文 时间:
2016-12-30 17:17:50
阅读次数:
131
50 years, 50 colors Problem Description On Octorber 21st, HDU 50-year-celebration, 50-color balloons floating around the campus, it's so nice, isn't i ...
分类:
其他好文 时间:
2016-12-20 01:13:38
阅读次数:
204
Bungee JumpingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1205 Accepted Submission(s): 528 Pr ...
分类:
其他好文 时间:
2016-12-18 15:18:17
阅读次数:
174