一、如果你这两个结果集都没有close,可以这样:rs.last();rs2.last();if (rs.getRow() != rs2.getRow()) {//记录数不等,即结果不等}rs.first();rs2.first();while (rs.next() && rs2.next()) {...
分类:
数据库 时间:
2015-01-20 21:55:02
阅读次数:
157
1,做你必须做的事生活中有两种道路,一种是去做我们该做的事,另一种是做我们必须做的事。应该做的事,是指我们在别人眼中的形象;而必须做的,则代表你此时此刻最真实想法和信仰。你应该选择你必须做的事,虽然这个选择看上去很难,但当你一次又一次面对选择,你会变得游刃有余。2,20-40-60 法则20 岁时,...
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-01-20 15:37:03
阅读次数:
92
Howto 1: build a sample audio graph.Initialize mediastreamer2When using mediastreamer2, your first task is to initialize the library: ##include int i....
分类:
其他好文 时间:
2015-01-20 13:21:55
阅读次数:
220
there are two way:First :Inside yourCDofSQL Server 2012you can go to this path\redist\VisualStudioShell.And you most install this fileVS10sp1-KB983509...
分类:
数据库 时间:
2015-01-20 10:21:08
阅读次数:
184
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre...
分类:
其他好文 时间:
2015-01-20 08:58:38
阅读次数:
231
将已有项目提交到github:
1、新建repository(省去安装github之类的)
(1)进入官网https://github.com,注册用户名,登陆。
(2)注意右上角,新建repository。
(3)填写repository说明
(4) 在本地项目根目录下执行下列命令
git init //在当前项目目录中生成本地git管理,并建立一个隐藏.gi...
分类:
其他好文 时间:
2015-01-19 22:42:00
阅读次数:
233
string
头文件 #include
名称空间 std
std::to_string()
std::stoll(str,*,0)
string::substr(pos,length = npos) //pos start at 0
std::size_t found = string::find_first_not_of(string("abcdefghijklmnopqrstuvw...
分类:
其他好文 时间:
2015-01-19 17:17:53
阅读次数:
125
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Your goal is to rea...
分类:
其他好文 时间:
2015-01-19 15:53:51
阅读次数:
122