今天调试代码,碰到expected unqualified-id before numeric constant 错误,代码的错误模块出现在一个函数模块上,奇怪的是这个函数模块之前编译了很多次,也没有被修改过,突出出错了。网上查了下,发现这种错误一般都是在其他的地方有错误,编译器报错的地方却在另外一...
分类:
其他好文 时间:
2014-12-12 11:34:36
阅读次数:
227
S1:Aptina's MT9M021/MT9M031 sensor is capable of a maximum resolution of 1280 x 960at up to 45fps, or it may be configured to run 720p at 60fps。Regist...
分类:
其他好文 时间:
2014-12-11 18:45:41
阅读次数:
335
dp是最有意思的。。 因为它永远没有固定的套路。。最无聊的就是那些模板题了。。这题 我被坑了。。 题意读错了。。 这边问的是A more interesting question is what is the expected rightmost position you will attain ....
分类:
其他好文 时间:
2014-12-10 22:38:32
阅读次数:
251
提高ormlite的批处理速度http://stackoverflow.com/quegoogstions/11761472/ormlites-createorupdate-seems-slow-what-is-normal-speedThis may be the "expected" speed...
分类:
其他好文 时间:
2014-12-08 12:22:18
阅读次数:
246
http://acm.hdu.edu.cn/showproblem.php?pid=5139Problem Descriptionf(n)=(∏i=1nin?i+1)%1000000007You are expected to write a program to calculate f(n) wh...
分类:
其他好文 时间:
2014-12-07 11:15:53
阅读次数:
197
自己在这里总结了三种占位符形式:看下面代码即可StringstringFormat="lexicalerroratposition%s,encountered%s,expected%s";StringmessageFormat="lexicalerroratposition{0},encounter...
分类:
编程语言 时间:
2014-12-07 06:30:10
阅读次数:
196
原文:SQL点滴12—SQL Server备份还原数据库中的小把戏备份数据库时出现一个不太了解的错误 ,错误信息“is formatted to support 1 media families, but 2 media families are expected according to the ...
分类:
数据库 时间:
2014-12-03 17:05:15
阅读次数:
213
作者:zhanhailiang 日期:2014-12-02
[root@~/wade/lua/historyBrowsing]# git push
fatal: No destination configured to push to.
查了下相应手册:
[root@~/wade/lua/historyBrowsing]# git help push
原因是缺少推送的目...
分类:
其他好文 时间:
2014-12-02 16:40:06
阅读次数:
8093
在tomcat4中,StandardContext.java是最大的一个类,有117k。废话不说,开始分析吧。
其实要分析StandardContext,也就主要分析两个方法,一个start,一个invoke。
两个变量
这里首先咱们得说两个boolean型的变量available,configured。
先说available,它表示了StandardContext是否可用,初始值为...
分类:
其他好文 时间:
2014-11-22 12:02:46
阅读次数:
183
ProblemIn 1-9 keypad one key is not working. If someone enters a password then not working key will not be entered. You have given expected password a...
分类:
其他好文 时间:
2014-11-21 06:58:11
阅读次数:
197