1. map的erase函数使用
这里首先要注意,C++针对map的erase函数有不同的函数原型,这往往是出现问题的关键所在。根据参考文献1: 在C++98中:(1) void erase
(iterator position);(2)size_type erase (const key_type...
分类:
其他好文 时间:
2014-05-26 23:52:50
阅读次数:
412
SELECT F.TABLE_NAME, F.CONSTRAINT_NAME,
F.COLUMN_NAME, F.POSITION, P.TABLE_NAME, P.COLUMN_NAME, P.POSITION ,R.OWNER FROM
USER_CONSTRAINTS R, USER_CO.....
分类:
数据库 时间:
2014-05-26 22:44:24
阅读次数:
246
<div id="ad"
style="position:absolute"><a href="http://www.scshlx.com/wayne173"
target="_blank"><img src="http://www.hxlysw.com/images/...
分类:
Web程序 时间:
2014-05-26 22:19:57
阅读次数:
680
题目描述:一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。输入:输入可能包含多个测试样例,对于每个测试案例,输入包括一个整数n(1long
long stair[71];void getStair(void);int main(){ int n; ...
分类:
其他好文 时间:
2014-05-26 20:37:07
阅读次数:
218
父表 子表
了解unsaved-value,需要知道如下知识点:1.unsaved-value默认值是null2.id的type标签属性可以标示为:
【1】基本对象类型如int,long 【2】对象类型,...
分类:
系统相关 时间:
2014-05-26 15:08:42
阅读次数:
325
近日在做项目时遇到非必现crush,具体异常信息为:// Short Msg:
java.lang.IllegalStateException// Long Msg: java.lang.IllegalStateException: The
content of the adapter has ch...
分类:
移动开发 时间:
2014-05-26 10:08:36
阅读次数:
590
数据库中存储的信息主要有:数字、时间、文字、图片、唯一标示等。针对数字有:bit,tinyint,smallint,int,long,decimal,float。长度从一个位逐个字节(8位)的增加。时间:date,datetime.文字:char,varchar,nvarchar.唯一标示有:tim...
分类:
数据库 时间:
2014-05-26 09:12:53
阅读次数:
218
初入前端的时候觉得CSS知道display、position、float就可以在布局上游刃有余了,随着以后工作问题层出不穷,才逐渐了解到CSS并不是几个style属性那么简单,最近看了一些关于行高的知识,就此总结一下。所谓行高是指文本行基线间的垂直距离。要想理解这句话首先得了解几个基本知识:顶线、中...
分类:
Web程序 时间:
2014-05-24 07:56:37
阅读次数:
445
介绍通过方法
@Override
public boolean areAllItemsEnabled() {
return false;
}
@Override
public boolean isEnabled(int position) {
return !mStrings[position].startsWith("-");
}
设置list的可以选和不可选注意有...
分类:
其他好文 时间:
2014-05-22 23:08:09
阅读次数:
388
【题目】
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 reach the last index in the minimum number of ju...
分类:
其他好文 时间:
2014-05-22 17:02:20
阅读次数:
244