1.vector
#include
#include
#include
using namespace std;
void vectorTest()
{
vector container;
for (int i = 0; i < 10; i++)
{
container.push_back(i);
}
vector::iterato...
分类:
其他好文 时间:
2014-09-30 11:29:32
阅读次数:
231
题目描述:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoint...
分类:
其他好文 时间:
2014-09-30 00:30:11
阅读次数:
211
javax.servlet
Interface ServletContext
public interface ServletContext
Defines a set of methods that a servlet uses to communicate with its servlet container, for example, to get the MIME type o...
分类:
其他好文 时间:
2014-09-29 12:36:41
阅读次数:
149
项目错误列表中报 Unbound classpath container: 'JRE System Library [jdk17060]' in project **** 的错误,原因是我升级了JDK的版本,把之前配置使用的Installed JREs项给删除了,如下图:解决办法:在项目上单击鼠标右键》Build Path》Configure Build PathJava Build Path》L...
分类:
其他好文 时间:
2014-09-28 13:19:02
阅读次数:
186
1、错误描写叙述八月 20, 2014 7:10:18 下午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [jsp] in context with path [/Fusi...
分类:
编程语言 时间:
2014-09-27 19:01:40
阅读次数:
154
浮动元素容器的clearing问题1. 问题的由来有这样一种情形:在一个容器(container)中,有两个浮动的子元素。 在浏览器中一运行,就会出现意想不到的结果。实际视图是子元素显示在父容器的外部。2. 问题的原因与浮动定位有关。在CSS规范中,浮动定位不属于正常的...
分类:
其他好文 时间:
2014-09-27 10:36:29
阅读次数:
312
在senchaTouch 页面跳转中,有时我们需要将其前一个页面的相关参数传入到新的页面或者新的控件中,这是我们该如何传递参数进去呢,一下有两种方式:
var arg;//定义将要 传入的参数
Ext.define('MyApp.view.Init',{
extend:'Ext.Container',
id:'chat_more_btm',
xtype:'init',
config:{
...
分类:
其他好文 时间:
2014-09-26 23:11:21
阅读次数:
484
腾讯地图
var init = function() {
var map_center = new qq.maps.LatLng(39.90927537429095,116.39838695526123);
var map = new qq.maps.Map(document.getElementById("container"), {
center : map_center,...
分类:
其他好文 时间:
2014-09-26 00:45:18
阅读次数:
279
在JQueryEasyUI中为DataGrid自定义了一个ComboGrid编辑器。具体方法:自己写一个扩展$.extend($.fn.datagrid.defaults.editors, { combogrid: { init: function (container, op...
分类:
Web程序 时间:
2014-09-25 19:34:37
阅读次数:
248
-----QUESTION-----
Given n non-negative integers a1, a2,..., an,where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai)and (i,0). Find two lines, which together with x-axis forms ...
分类:
其他好文 时间:
2014-09-24 20:39:27
阅读次数:
218