1.JLINK V8 error:flash download failed - could not load file:Options for Target 'Targer 1'下的菜单下Output选项里,Name of Executable可以有数字,命令也可以一数字开头,只是名字中不能含有小...
分类:
其他好文 时间:
2014-06-28 22:56:50
阅读次数:
294
push()末尾推入元素 返回数组长度pop()末尾弹出元素 返回弹出元素shift()起始弹出元素 返回弹出元素unshift()起始推入元素 返回数组长度代码如:var arr1 = ["b","c","d","e"];var arr2 = arr1.push("f");//arr1:["b",...
分类:
其他好文 时间:
2014-06-28 21:38:30
阅读次数:
237
Troubleshooting the SharePoint “File not found” Error Have you ever come across a “File Not Found” error when accessing some part of your WSS 3.0, MOS...
分类:
其他好文 时间:
2014-06-28 21:27:47
阅读次数:
301
adb在\sdk\platform-tools里面可以找到。在windows上运行adb需要AdbWinApi.dll,另外还有个AdbWinUsbApi.dll,似乎没有也可以用push传文件到手机。adb push getroot sdcard/这一行语句可以把同一文件夹下的getroot这个文...
分类:
数据库 时间:
2014-06-28 20:12:49
阅读次数:
233
var selectedCodeArray = [];var num = $.inArray(值, selectedCodeArray) //值在数组中的位置selectedCodeArray.push(值码);selectedCodeArray.splice(num, 1);//从数组中删除
分类:
Web程序 时间:
2014-06-21 09:25:11
阅读次数:
216
题目描述It'sYy'sbirthday, and his friends decided to buy him a copy ofXianJianQiXiaZhuanV.Since some of friends have more money available than others, nob...
分类:
其他好文 时间:
2014-06-21 09:03:53
阅读次数:
303
这里给出二叉树三种遍历方式的迭代实现代码。二叉树的递归实现使用系统栈入栈出栈,而非递归的迭代实现方法就是手动维护一个栈,来模拟递归的入栈出栈过程。 本文没有给出用户栈的代码,如果需要结合上篇的测试代码一起测试,则需要自己实现自己的栈,以及基本的pop、push等栈操作函数。 前序迭代遍历: ...
分类:
其他好文 时间:
2014-06-21 08:19:15
阅读次数:
211
有趣的函数式数据结构《一》----不可变栈
什么是不可变?往栈中插入一个元素,原来的栈保持不变,返回一个新的栈(已插入新的元素)。
push, pop,getMax 等操作都要求在 常数时间内完成。
可能读者会产生疑惑,既然要返回一个新的栈,是不是就必须先拷贝一份原来的栈,然后在新的栈中插入元素。
但是这样复杂度就是线性的,如何能够在常数时间内完成呢??
这里,就是immutab...
分类:
其他好文 时间:
2014-06-18 06:40:42
阅读次数:
220
今天更新了android studio,从0.5.3升级到0.6.1版本,结果在IDE中编译时没有问题,但是在命令行时编译就会出现以下错误:
:app:compileTestDebugJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:c...
分类:
移动开发 时间:
2014-06-18 06:40:05
阅读次数:
395
JS
var param= new Array();
var one= new Object;
one.id = '1';
one.name= 'simba1';
param.push(one);
var two= new Object;
two.id = '2';
two.name= 'simba2';
param.push(two);
$.ajax({
async :...
分类:
编程语言 时间:
2014-06-18 00:45:17
阅读次数:
505