* 逻辑运算符: * &&: 与(短路) * ||: 或 (短路) * !:非 * * 其他类型转boolean: * 1. number:0或NaN为假,其他为真 * 2. string:除了空字符串(""),其他都是true * 3. null&undefined:都是false * 4. 对象 ...
分类:
Web程序 时间:
2020-07-11 00:23:35
阅读次数:
87
Typora 1. Markdown 是一种轻量级标记语言,它允许人们使用易读易写的纯文本格式编写文档 1.1 目录 [toc] 2. 结构类操作 2.1 多级标题 # 一级标题 ## 二级标题 ### 三级标题 #### 四级标题 ##### 五级标题 ###### 六级标题 快捷键: 1. Ct ...
分类:
其他好文 时间:
2020-07-10 23:50:53
阅读次数:
72
下面开始列举 #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { ////输入输出 printf("Hello world!"); printf("\r\n"); printf("Number = %d" ...
分类:
其他好文 时间:
2020-07-10 17:07:05
阅读次数:
77
g++ -std=c++11 testlibc.cpp -shared -fPIC -o libtest.so编译成动态库 gcc main.c libtest.so -o main 编译 ./main ...
分类:
编程语言 时间:
2020-07-10 15:13:59
阅读次数:
122
function toThousands(num) { num = (num || 0).toString(); let number = 0, floatNum = '', intNum = ''; // 判断是否有小数位,有则截取小数点后的数字 if (num.indexOf('.') > 0) ...
分类:
Web程序 时间:
2020-07-10 14:51:25
阅读次数:
79
fastnumbers参考文档: https://fastnumbers.readthedocs.io, 除了提供fast_float,fast_real等函数来加速builtins API外,此包还提供了isreal, isfloat, isint, isintlike等API,方便调用判断输入是 ...
分类:
其他好文 时间:
2020-07-10 14:51:03
阅读次数:
57
number数字类型 包含:常规数字,NaN NaN not a number:不是一个数,但是他率属于数字类型 <script src = "test.js"></script> //test.js //console.log([val]): //console.log("hello word!" ...
分类:
Web程序 时间:
2020-07-10 13:46:13
阅读次数:
97
// 1234 = 1^4 + 2^4 + 3^4 + 4^4; // 341 = 3^3 + 4^3 + 1^3 // 类似于水仙花数 #include <stdio.h> #include <math.h> int digitCount(int n) { //此函数用于获取整数的位数 int i ...
分类:
其他好文 时间:
2020-07-10 11:37:30
阅读次数:
54
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:
其他好文 时间:
2020-07-10 09:59:09
阅读次数:
61
#DB-PL SQL July 9, 2020 9:33 PM PLSQL Developer 13.0.0.1883 注册码 product code: 4vkjwhfeh3ufnqnmpr9brvcuyujrx3n3le serial Number:226959 password: xs374c ...
分类:
数据库 时间:
2020-07-09 22:19:15
阅读次数:
88