一、队的概念 队列也是一种表,但是是一种受限的表,只允许从一端插入,另一端山粗的表。 二、队列的数组实现 #define QMAXSIZE 100typedef int Position;typedef int QElement;typedef struct queue{ QElement Els[...
分类:
其他好文 时间:
2014-08-21 18:53:24
阅读次数:
186
//代码框架 .scratchpad {height: 178px;position: absolute;right: 6px;top: 110px;width: 294px;}/*插件框架*//*! wScratchPad - v2.1.0 - 2014-04-14 *...
分类:
其他好文 时间:
2014-08-21 18:42:04
阅读次数:
310
希望能帮到须要的人,转自:http://www.see-design.com.tw/i/css_position.html 1. position:static元素的 position 屬性默認值為:static,即該元素出現在文檔的常規位置,不會又一次定位。通常此屬性值能够不設置,除非是要覆蓋之前...
分类:
Web程序 时间:
2014-08-21 17:06:24
阅读次数:
208
1.定位和浮动:2.一切皆为框:块元素:div,h1,p……行元素:span,strong……position 属性值的含义:static元素框正常生成。块级元素生成一个矩形框,作为文档流的一部分,行内元素则会创建一个或多个行框,置于其父元素中。relative元素框偏移某个距离。元素仍保持其未定位...
分类:
Web程序 时间:
2014-08-21 17:05:44
阅读次数:
235
#dvbg{background-color:#666666; position:absolute; z-index:99; left:0; top:0; display:none; width:100%; height:1000px;opacity:0.5;filter: alpha(opaci....
精简的代码实现导航栏滑动效果,实现详解:1.滑块位置:通过父节点position=fixed,子节点position=absolute方式,实现子节点浮动;2.导航栏居中:通过left=0px,right=0px,margin-left=auto,margin-right=auto实现;3.通过jQ...
分类:
Web程序 时间:
2014-08-21 13:20:44
阅读次数:
233
div居中样式:show_center{ margin-left: auto; margin-right: auto; width: 1000px; //宽度根据自己需要设定 height: 300px; //根据需要设定 ...}使用样式: 这里要注意一点:如果样式中加入position...
分类:
其他好文 时间:
2014-08-20 17:48:52
阅读次数:
163
.loader { margin: 6em auto; font-size: 10px; position: relative; text-indent: -9999em; border-top: 1.1em solid rgba(255, 255, 255, 0.2); border-...
分类:
Web程序 时间:
2014-08-20 11:58:02
阅读次数:
271
Hibernate框架可以根据你写的映射文件直接对你的实体类进行增删改查等等数据库操作。传入的可以是一个实体对象。
首先是我的实体类代码 Position.java
package com.attence.entity;
public class Position {
private int id;
private String position_Name;
private Strin...
分类:
其他好文 时间:
2014-08-20 00:02:25
阅读次数:
221
BaseAdapter创建这么一个对象,需要些四个方法。 int getCount(); Object getItem(int position); long getItemId(int position);View getView(int position, View convertView, V...
分类:
移动开发 时间:
2014-08-19 23:59:05
阅读次数:
495