demo1: 分析: 1.字符串的基本使用 2.strings包还有其他的一些函数,会在下面介绍 demo2: 分析: 1.一些字符串的基本操作 2.其他的功能直接查文档即可,很简单 demo3: 分析: 1.格式化函数format,必须使用2006/01/02 15:05:05这个日期,Go规定的 ...
分类:
其他好文 时间:
2019-03-26 13:42:14
阅读次数:
127
前置++与后置++运算符重载,前置--与后置--运算符同理 ...
分类:
其他好文 时间:
2019-03-23 15:57:18
阅读次数:
137
5G: What is Standalone (SA) vs Non-Standalone (NSA) Networks? According to the recent 3GPP Release 15 standard that covers 5G networking, the first wa ...
分类:
其他好文 时间:
2019-03-23 14:35:06
阅读次数:
145
```cpp include using namespace std; enum Atom_type{NUMBER=1,LETTER=2,OPERATOR=3}; const int MAX_PARA=20; int sign[128],prio[128],n_para; vector para_l ...
分类:
其他好文 时间:
2019-03-23 13:03:45
阅读次数:
118
1 class ErrorCodeConfig{ 2 public: 3 ErrorCodeConfig(){} 4 ErrorCodeConfig(const ErrorCodeConfig&)=delete; 5 ErrorCodeConfig &operator=(const ErrorCod... ...
分类:
编程语言 时间:
2019-03-19 12:33:38
阅读次数:
123
VUE实现双向数据绑定的原理就是利用了 Object.defineProperty() 这个方法重新定义了对象获取属性值(get)和设置属性值(set)的操作来实现的。先看个例子 大家应该都见过Object.defineProperty() ,只是可能个别同志会感觉比较陌生。 根据MDN web d ...
分类:
其他好文 时间:
2019-03-18 18:30:16
阅读次数:
184
operator模块提供的itemgetter函数用于获取对象的哪些维的数据,参数为一些序号(即需要获取的数据在对象中的序号),下面看例子。 要注意,operator.itemgetter函数获取的不是值,而是定义了一个函数,通过该函数作用到对象上才能获取值。 看看下面的练习 Q:找到年龄最大的人, ...
分类:
编程语言 时间:
2019-03-15 19:03:28
阅读次数:
172
class Solution(object): def divide(self, dividend, divisor): """ :type dividend: int :type divisor: int :rtype: int """ ispositive = True ... ...
分类:
其他好文 时间:
2019-03-14 17:58:34
阅读次数:
160
云函数中有以下未安装的依赖,如果未安装即全量上传在新建的云函数,右击终端打开->cmd,安装依赖npm install --production依赖安装成功之后,文件里面会出现package-lock.json文件。 ...
分类:
Web程序 时间:
2019-03-13 16:30:51
阅读次数:
1106
部门表(SM_DEPT) | 字段名称 |数据类型 |是否主键|注释| |: |: | |: | | DEPT_ID| NUMBER|Y | 部门ID | |PARENT_DEPARTMENT_ID | NUMBER |N | 上级部门 | | DEPARTMENT_NAME|VARCHAR2(50 ...
分类:
数据库 时间:
2019-03-11 13:04:19
阅读次数:
281