最近学习JavaScript的回调函数,将自己学习心得整理下,不一定是正确的。 回调函数概念:A callback is a function that is passed as an argument to another function and is executed after its pa ...
分类:
编程语言 时间:
2016-03-28 18:39:39
阅读次数:
185
转自:http://blog.chinaunix.net/uid-9525959-id-2001528.html printf FORMAT [ARGUMENT]... printf OPTION 【功能】 格式化并打印数据. 【举例】 *打印整数和字符串: $printf 'the integer ...
分类:
系统相关 时间:
2016-03-24 16:28:04
阅读次数:
193
功能模块 功能子模块 功能 测试结果 备注 用户 注册、登录 注册、登录、退出 手机号注册收不到验证码,无法进行注册 设置 修改用户信息 ok 用户信息页面报“ request() got an unexpected keyword argument 'json'” 修改密码 ok 设置好后,点击概
分类:
其他好文 时间:
2016-03-22 10:33:35
阅读次数:
190
getopt:Thegetoptmoduleistheold-schoolcommandlineoptionparserthat
supportstheconventionsestablishedbytheUnixfunctiongetopt().Itparsesanargumentsequence,suchassys.argvand
returnsasequenceof(option,argument)pairsandasequenceof
non-optionarguments.
分类:
编程语言 时间:
2016-03-22 06:37:51
阅读次数:
205
主要是想说复制构造函数的,但是偏偏问题就来了。所以还介绍了 passing 'const Student' as 'this' argument of 'int Student::getId()' discards qualifiers [-fpermissive] error:passing ‘c
分类:
其他好文 时间:
2016-03-18 19:57:24
阅读次数:
234
int printf(const char *format,[argument]); format 参数输出的格式,定义格式为:%[flags][width][.perc] [F|N|h|l]type 1. type 含义如下: (1) 整数 %d 整数的参数会被转成一有符号的十进制数字 %u 整数
分类:
其他好文 时间:
2016-03-16 08:24:58
阅读次数:
184
sql 语句拼接报错: No signature of method: java.lang.String.positive() is applicable for argument types: () values: [] 原因:字符串相加时,加号前后有空格 例如(这样是不行的): 要
分类:
移动开发 时间:
2016-03-15 20:29:11
阅读次数:
4492
这里主要是介绍一种证明贪心算法是最优的一种方法:Exchange Argument (不知道应该怎么翻译到中文,交换参数?感觉听起来挺别扭的,不像是一个方法的名字~o(╯□╰)o) Exchange Argument的主要的思想也就是 先假设 存在一个最优的算法和我们的贪心算法最接近,然后通过交换两
分类:
编程语言 时间:
2016-03-12 10:21:37
阅读次数:
245
当用数据库登录系统报如下错误时 PHP Recoverable Error – yii\base\ErrorException Argument 1 passed to yii\web\User::login() must be an instance of yii\web\IdentityInte
分类:
其他好文 时间:
2016-03-10 23:14:35
阅读次数:
989
man page 绝对是linux开发人员学习linux相关命令函数的终极利器! man [section] argument 首先,man其实是系统的手册“寻呼机“,argument可能是命令、设施或者函数,与argument相联系的手册会被找到并且显示出来。如果 section被同时传递给man
分类:
其他好文 时间:
2016-03-10 10:43:39
阅读次数:
135