#includevoid ShellSort(int *a,int length){ int
jump=length; int temp=0; int change=1; while(jump>0) //while1 { jump=jump/2;
change=1; /***************...
分类:
其他好文 时间:
2014-06-07 03:53:30
阅读次数:
243
——积累工作中用到的SQL1、增加和删除一列写法: --增加一列 alter table 表名 add 列名 类型; --删除一列 alter table 表名 drop column 列名 ;例如: --增加一列 alter table TB_TEMP add COL_ID VARCHAR2(40); --删除一列...
分类:
数据库 时间:
2014-06-05 10:17:14
阅读次数:
340
闭包是指有权访问另一个函数作用域中的变量的函数。 这里随意写个最简单的小例子: 1
//这是闭包的一个基本例子 2 3 function outter( ){ 4 5 var temp = 0; //不加var则是全局变量! 6 7
function inner( ...
分类:
Web程序 时间:
2014-05-31 13:57:56
阅读次数:
282
水题,不过要想0ms过还是有个技巧的:#include #include using
namespace std;int main(){ int score[101]; int t,t1,temp; while(cin>>t) {
//memset(score,...
分类:
其他好文 时间:
2014-05-30 16:53:11
阅读次数:
268
快排,从小到大排序 1 void quicksort(int a[],int low,int
high) 2 { 3 int i=low; 4 int j=high; 5 int temp=a[i]; 6
if(i=temp&&i<j) j--; ...
分类:
其他好文 时间:
2014-05-30 08:03:25
阅读次数:
268
//要监听的EditText对象private EditText
mEditText;//添加监听事件mEditText.addTextChangedListener( new TextWatcher() { private
CharSequence temp; private int star.....
分类:
其他好文 时间:
2014-05-26 20:32:14
阅读次数:
220
输入一个百分制的成绩t后,按下式输出它的等级。等级为:90~100为A,80~89为B,70~79为C,60~69为D,0~59为E。样例输入98样例输出A#include"stdio.h"int
main(){ char grade; double score; int temp...
分类:
其他好文 时间:
2014-05-26 00:27:15
阅读次数:
225
索引、实体化视图、簇、散列簇、序列、同义词1、创建表CREATE TABLE (
,……);CREATE GLOBAL TEMPORARY TABLE ( ,……) ON COMMIT DELETE ROWS TABLESPACE
;--创建事务级临时表,事务提交后删除临时表中数据CREATEGLO...
分类:
数据库 时间:
2014-05-25 23:25:14
阅读次数:
455
1. Tomcat目录结构 :l Bin下的文件是启动用的,一般用到的l
Conf是配置文件的,可以配置端口8080什么的;l Lib是库文件,里面有一些jia包l Logs是日志文件,里面包含一些日子信息l Temp是临时文件l
Webapps是项目应用文件,所有的项目都会被存进来经过编译后的.....
分类:
其他好文 时间:
2014-05-25 15:32:15
阅读次数:
227
-----024-file.php ----- 1 2 3 4 5 文件处理 6 7 8 文件处理 9
10 数组14 $str_zzz = file_get_contents($f_zzz); // 文件 => 字符串15 $arr_temp =
ex...
分类:
Web程序 时间:
2014-05-25 03:02:16
阅读次数:
374