1 class Node { 2 int val; 3 Node next; 4 5 Node(int x) { 6 val = x; 7 next = null; 8 } 9 }10 11 class Stack {12 ...
分类:
编程语言 时间:
2015-03-19 21:44:16
阅读次数:
184
--创建数据库--判断数据库是否已经存在 如果存在就删除 exists如果参数返回的结果集不为null,那么就返回true,否则就返回false sysdatabases存在master里面--切换数据库use masterif exists(select * from sysdatabases.....
分类:
数据库 时间:
2015-03-19 21:40:51
阅读次数:
161
public class ArrayDemo01 { public static void main(String[]args){ int score[]=null; score=new int[3]; System.out.println("score[0]="+score[0]); Sy...
分类:
编程语言 时间:
2015-03-19 20:15:11
阅读次数:
158
如果只有一个表的情况下a表:id num1,num21 10 52 10 03 20 0select id, num1,num2,num1 - num2 AS subNum from a;这种情况下:结果如下:id num1 num2 subNum1 10 5...
分类:
数据库 时间:
2015-03-19 20:12:36
阅读次数:
157
数据库准备:create table blob_test( id integer not null auto_increment, big_bit blob not null, primary key(id));在工程目录下新建一个images文件夹,存入一张zhukov.jpg图...
分类:
数据库 时间:
2015-03-19 20:05:41
阅读次数:
191
HtmlJavascript$(function () { var chart; var option={ chart: { renderTo:'container', plotBackgroundColor: null, ...
分类:
其他好文 时间:
2015-03-19 18:14:55
阅读次数:
110
冒泡排序:泡泡(最小值)从底部冒上来void bubblesort(int *arr, const int len){ if(arr == NULL) return; for(int i = 0; i = i; j--) { if(arr[j] > a...
分类:
编程语言 时间:
2015-03-19 17:56:01
阅读次数:
184
public class BaseJunit { private Timer timer; private Object mSync = new Object(); protected void Wait() { synchronized (mSync) { if (timer != null) { timer.cancel(); timer.purge(); timer = null; }...
分类:
其他好文 时间:
2015-03-19 16:42:50
阅读次数:
115
数据重定向分为:输入重定向(stdin)代码:0使用<or<<输出重定向(stdout)代码:1使用>or>>错误输出重定向(stderr)代码:2使用2>or2>>1>以覆盖的方法将【正确癿数据】输出到指定的档案或设备上。1>>以追加的方法将【正确癿数据】追加..
分类:
系统相关 时间:
2015-03-19 16:31:55
阅读次数:
161
一:CvMat* cvInitMatHeader( CvMat* mat, int rows, int cols, int type,void* data=NULL, int step=CV_AUTOSTEP );
mat 指针指向要被初始化的矩阵头.
rows 矩阵的行数.
cols 矩阵的列数.
type 矩阵元素类型.
data 可选的,将指向数据指针分配给矩阵头.
step...
分类:
其他好文 时间:
2015-03-19 16:25:19
阅读次数:
135