X100 + Plus key programmer supports multi-function: vehicle identification, read / erase error codes, key programming, ECU programming for parts of ve...
分类:
其他好文 时间:
2015-02-26 16:33:11
阅读次数:
228
查找某个key对应的value的方法,有2种: 方法1: typedef std::multimap::iterator it it = mmap_.find( nCallLetter ); if ( it != mma...
分类:
其他好文 时间:
2015-02-26 16:22:34
阅读次数:
405
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.
Note: The result may be ve...
分类:
其他好文 时间:
2015-02-17 14:08:08
阅读次数:
165
解决问题:nand0: MTD Erase failure: -5 drivers/mtd/nand/nand_bbt.c文件中初始化bbt/*
* Allocate memory (2bit per block) and clear the memory bad block
* table.
*/
this->bbt = kzalloc(len, GFP_...
分类:
其他好文 时间:
2015-02-09 11:01:20
阅读次数:
233
在遍历中使用 iterator/reverse_iterator 进行 Erase 的使用方法罗朝辉 (http://blog.csdn.net/kesalin/)本文遵循“署名-非商业用途-保持一致”创作公用协议众所周知,在使用迭代器遍历 STL 容器时,须要特别留意是否在循环中改动了迭代器而导致...
分类:
其他好文 时间:
2015-02-07 20:12:54
阅读次数:
406
STL中的容器按存储方式分为两类:序列容器(如:vector 、deque);关联容器(如:list、set、map)两种容器在使用erase方法来删除元素时或产生迭代器失效的问题对于关联容器 1 std::list List; 2 std::list::iterator iter = List.b...
分类:
其他好文 时间:
2015-02-05 13:24:14
阅读次数:
122
直接上代码: void EraseSpace(string &s)
{
//ch可换成其他字符
const char ch = ' ';
s.erase(s.find_last_not_of(" ") + 1);
s.erase(0, s.find_first_not_of(" "));
}
够简单吧,亏我以前还一个字符一个字符地数空...
分类:
编程语言 时间:
2015-01-23 18:25:12
阅读次数:
186
在hive的交互模式下,输入退格、方向键等,出现乱码,可以通过如下方法解决:1、修改bashrc文件:vi ~/.bashrc在文件最后添加一行:stty erase ^H。2、使修改生效:source ~/.bashrc这样,就不会乱码了。
分类:
其他好文 时间:
2015-01-18 22:37:42
阅读次数:
350
如果bootloader.img是不好使的,手机就废了erase 将bootloader檫除,自毁命令fastboot命令只能在bootloader模式下使用:flash主要是刷机erase是檫除 vivoS7t测试:system是只读的emmc@android /system ext4 ro,no...
分类:
其他好文 时间:
2015-01-18 14:23:07
阅读次数:
270
some U-Boot commands special for FL Ok6410 (1) download U-Boot $dnw 50008000 $nand erase 0 100000 $nand write.uboot 50008000 0 100000 #dnw default l.....
分类:
其他好文 时间:
2015-01-12 10:49:04
阅读次数:
290