http://www.cplusplus.com/reference/ios/ios/operator_not/http://stackoverflow.com/questions/8117566/why-istream-object-can-be-used-as-a-bool-expression...
分类:
编程语言 时间:
2014-11-17 17:17:06
阅读次数:
126
OverLay覆盖物的抽象基类不能实例化下图所示为其子类实现。http://developer.baidu.com/map/reference/index.php?title=Class:%E8%A6%86%E7%9B%96%E7%89%A9%E7%B1%BB/PointCollectionMap.addOverLay添加覆盖物添加基本的覆盖物代码: varmarker=newBMap.Marker(newBMap.Point(1..
分类:
Windows程序 时间:
2014-11-17 12:34:06
阅读次数:
1756
常用的一些Spring MVC的路由写法以及参数传递方式。参考引用:http://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/mvc.html这是一些测试例子:package com.my.controller;i...
分类:
编程语言 时间:
2014-11-17 12:01:24
阅读次数:
288
其实问题的本质是对elf格式的理解问题,因为是查看so库的符号表发现的问题。事情起因是这样的,由于我的一个程序编译的时候出现了undefined reference to “XXX”的错误,需要链接特定的so库,发现用nm [file]找不到“XXX”函数符号,结果用readelf -s [file...
分类:
其他好文 时间:
2014-11-17 11:58:02
阅读次数:
178
1. App Extension Programming Guide
2.LocalAuthentication.framework - Touch ID Authentication
3.Local Authentication Framework Reference.
4.Photos.framework/PhotosUI.framework
5.AV Foun...
分类:
移动开发 时间:
2014-11-17 10:49:14
阅读次数:
189
1.when we wanna share const variables;we use the keywordexternon both its definition and declaration(s):2.Once initialized, a reference remains bound ...
分类:
编程语言 时间:
2014-11-16 21:24:45
阅读次数:
225
下列情况中, 为了让程序顺利编译, 必须使用 member initialization list:1. 初始化一个 reference member 时;2. 初始化一个 const member 时;3. 当调用一个 base class 的 constructor, 而它拥有一组参数时;4. ...
分类:
其他好文 时间:
2014-11-16 17:10:59
阅读次数:
200
http://poj.org/problem?id=3046
蚂蚁牙黑,蚂蚁牙红:有A只蚂蚁,来自T个家族。同一个家族的蚂蚁长得一样,但是不同家族的蚂蚁牙齿颜色不同。任取n只蚂蚁(S
这是《2.3 记录结果再利用的“动态规划” 优化递推关系式》练习题的第二题。
定义
dp[i][j] := 使用前i个家族可以配出来“元素个数为j”的集合的个数。
那么dp...
分类:
其他好文 时间:
2014-11-15 15:36:27
阅读次数:
147
Vowel Counting
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1413 Accepted Submission(s): 1043
Problem Description
The "Vowe...
分类:
其他好文 时间:
2014-11-14 21:15:14
阅读次数:
168
Spring Batch_Configuring a Step for Restart spring官方文档:http://docs.spring.io/spring-batch/trunk/reference/html/configureStep.html#stepRestart 当一个普通的 job 处于complete 的状态的时候,是不能...
分类:
编程语言 时间:
2014-11-14 16:02:23
阅读次数:
335