摘要: 模板和泛型编程--模板定义[续]四、模板类型形參 类型形參由keywordclass或 typename后接说明符构成。在模板形參表中,这两个keyword具有同样的含义,都指出后面所接的名字表示一个类型。 模板类型形參可作为类型说明符在模板中的不论什么地方,与内置类型说明符或类类型说明符的使用方式... 阅读全文
posted @ 2015-08-06 21:01 hrhguanli 阅读(219) 评论(0) 推荐(0)
摘要: 1. gitXcode4开始,它一直Git作为一个内置的源代码控制(Source Control)工具,所以对于新项目的用途git要管理非常方便。在新建项目向导。可以直接选择Git作为源控制工具。项目新建向导后,就在本地项目目下新建了一个仓库。2. 怎样为已存在的项目添加git(1)通过控制台进入项... 阅读全文
posted @ 2015-08-06 19:49 hrhguanli 阅读(345) 评论(0) 推荐(0)
摘要: 1、org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter准备和运行2、 struts2 /* url-pattern约定熟成仅仅写/*,不是必需写*.action3、 ... 阅读全文
posted @ 2015-08-06 18:41 hrhguanli 阅读(218) 评论(0) 推荐(0)
摘要: Card CollectorTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitcid=60444#status//K/0" class="ui-button ui-widget ui-state-defau... 阅读全文
posted @ 2015-08-06 17:08 hrhguanli 阅读(158) 评论(0) 推荐(0)
摘要: 转载请注明出处:http://blog.csdn.net/guoyjoe/article/details/31018075@@@@@@@利用BBED模拟损坏5文件1号块(文件头)BBED> copy file 4 block 4 to file 5 block 1 File: /u01/app/or... 阅读全文
posted @ 2015-08-06 16:16 hrhguanli 阅读(1215) 评论(0) 推荐(0)
摘要: Jzzhu has invented a kind of sequences, they meet the following property:You are given x and y, please calculate fn modulo1000000007 (109 + 7).InputTh... 阅读全文
posted @ 2015-08-06 15:38 hrhguanli 阅读(206) 评论(0) 推荐(0)
摘要: 在hibernate中实现自己定义类型,仅仅要实现UserType接口就可以或者以Component的形式提供.JPA的@Embedded有点类似,通过此凝视能够在你的Entity中使用一般的java对象,此对象须要用@Embeddable标注举个简单样例:Person类有一个name属性,name... 阅读全文
posted @ 2015-08-06 12:49 hrhguanli 阅读(1118) 评论(0) 推荐(0)
摘要: 训练计划的第一个问题,首先从水问题开始:排序的数组,中间数则输出。http://poj.org/problem?id=2388冒泡排序:#include using namespace std;int main(){ int i, j, n,t; int a[10000]; cin... 阅读全文
posted @ 2015-08-06 12:10 hrhguanli 阅读(181) 评论(0) 推荐(0)