之前遇到棘手的BUG总是在处理过后就不管了,导致后面碰到后重复工作太多。现专门开辟一篇日志以记录接下来一路上的DEBUG记录。【C++】1.mt.exe :
general error c101008d: Failed to write the updated manifest to the res...
分类:
其他好文 时间:
2014-05-26 22:30:47
阅读次数:
285
continue和break的用法一样,直接写上这个单词,后面加一个分号就行比如:continue;break;我们先来谈continue看代码
for (int i=0; i<10; i++) { Console.Write(i); }这个程序的意思输出从0...
分类:
其他好文 时间:
2014-05-26 20:36:46
阅读次数:
351
CAS,当oldVal与expected相同时,将oldVal更新为newVal,原子操作ABA problem:when a location is read
twice, has the same value for both reads, and "value is same“ is used...
分类:
其他好文 时间:
2014-05-26 16:06:53
阅读次数:
217
不能再简化了#include#include#includeint
meng_read_proc(char*page,char**start,off_t offset,int count,int*eof,void*data){
char*s="Hello. This is meng p...
分类:
系统相关 时间:
2014-05-26 15:52:49
阅读次数:
463
\n"; while($file = $mydir->read()) {
if((is_dir("$directory/$file")) AND ($file!=".") AND ($file!="..")) { echo
"$fi...
分类:
Web程序 时间:
2014-05-26 14:22:05
阅读次数:
239
今天在调试摄像头标定的时候发现了几个问题:fs.open("result.xml",
FileStorage::WRITE); fs > objectPoints(1);否则objectPoints[0].clear(); for( int
i = 0; i < boardheight; ++i )...
分类:
其他好文 时间:
2014-05-26 13:47:24
阅读次数:
241
Features 256 bits EEPROM memory organized in 8
pages of 32 bits each 32 bits unique factory programmed serial number Typical
operating frequency : ...
分类:
其他好文 时间:
2014-05-26 13:32:43
阅读次数:
287
Jimmy writes down the decimal representations of all natural numbers between and including m and n, (m ≤ n). How many zeroes will he write down?
Input
Input starts with an integer T (≤ 11000), denot...
分类:
其他好文 时间:
2014-05-22 22:59:18
阅读次数:
354
1.indexOf()方法,从前往后查找字符串位置,大小写敏感,从0开始计数。同理,lastIndexOf() 方法从后往前,两个方法对于相同的检索条件输出的结果是一样的
例如:
var str="Hello World!"
document.write(str.indexOf("Hello"))//输出0
document.write(str.indexOf("World"))/...
分类:
Web程序 时间:
2014-05-22 22:54:50
阅读次数:
313
Direct request is the simplest method used to request a semaphore. The request behaves as an atomic read and set operation. The result of a request is either to grant the semaphore
to the requesting...
分类:
其他好文 时间:
2014-05-22 17:21:38
阅读次数:
517