create database xxx; //创建数据库show databases; //观察有哪些数据库show databases [like wild]; //wild字符串可以是一个使用SQL的%和_通配符的字符串use db_name; // 告诉MYSQL使用db_name作为随后查询...
分类:
数据库 时间:
2014-11-24 13:18:16
阅读次数:
175
$file_pointer = fopen($file, "r");$file_read = fread($file_pointer, filesize($file));//$file_read = fread($file_pointer, 1);fclose($file_pointer);$str...
分类:
Web程序 时间:
2014-11-24 13:15:44
阅读次数:
186
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-11-23 23:01:16
阅读次数:
181
查看设备列表通过xinput先查看一些都有哪些设备xinput #或者 xinput list显示结果如下ddd@ddd:~$ xinput listVirtual core pointer id=2 [master pointer(3)] ? Virtual core XTEST...
分类:
系统相关 时间:
2014-11-20 23:21:59
阅读次数:
289
swap(int *p1,int *p2){ int temp; temp=*p1; *p1=*p2; *p2=temp;}main(){ int a,b; int *pointer_1,*pointer_2; scanf("%d%d",&a,&b); ...
分类:
其他好文 时间:
2014-11-20 18:25:29
阅读次数:
134
题:即输入的两个整数按大小顺序输出。今用函数处理,而且用指针类型的数据作函数参数。swap(int *p1,int *p2){ int temp; temp=*p1; *p1=*p2; *p2=temp;}main(){ int a,b; int *pointer...
分类:
其他好文 时间:
2014-11-20 13:24:26
阅读次数:
170
OOP polymorphism In OOP languages, a base-class object pointer can do function call according to the actual type of the object.Let's see an example i....
分类:
编程语言 时间:
2014-11-20 11:47:07
阅读次数:
231
题目https://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node/对每个节点递归。 1 /** 2 * Definition for binary tree with next pointer. 3 * .....
分类:
其他好文 时间:
2014-11-19 12:13:56
阅读次数:
154
NSValueNSNumberNSData类步骤1 NSValue我们先看看NSValue能做什么:一个NSValue对象是用来存储一个C或者Objective-C数据的简单容器。它可以保存任意类型的数据,比如 int,float,char,当然也可以是指pointer, structure, an...
分类:
其他好文 时间:
2014-11-18 23:46:30
阅读次数:
328
1 .ui-datepicker-trigger{ 2 background-position-x:-32px; 3 background-position-y:-176px; 4 height:30px;width:34px; 5 cursor:pointer; ...
分类:
Web程序 时间:
2014-11-18 23:12:03
阅读次数:
230