学习函数指针的应用 ,简单demo#include "stdafx.h"#include "SubClass.h";//函数指针typedef int (*Operation)(int a,int b);//定义int 类型函数指针typedef struct _str{ int result; O...
分类:
其他好文 时间:
2015-01-12 19:02:18
阅读次数:
157
这个错误网上搜索发现3.0.0.15版本内核 file_operation结构体已经删除了ioctl函数,取代的是:long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);long (*compat_ioctl) (st...
分类:
其他好文 时间:
2015-01-11 14:45:10
阅读次数:
139
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitted on a word:
a) Insert a character
b) Delete a character
c) Replace a...
分类:
其他好文 时间:
2015-01-10 18:15:43
阅读次数:
181
闪回技术(flashback)示例一、删除emp和deptDROP TABLE emp;DROP TABLE dept;查看回收站:SELECT * FROM RECYCLEBIN--内容过多SELECT object_name,original_name 原来的名称,operation 操作,TY...
分类:
其他好文 时间:
2015-01-10 18:02:05
阅读次数:
252
动态SQLEXECUTE IMMEDIATE 动态SQL字符串 [BUCK COLLECT] INTO 自定义的变量,,|记录类型USING [IN |OUT|IN OUT]绑定的参数][RETURNING |RETURN ][BULK COLLECT]INTO 绑定参数示例1--根据用记输入的员工...
分类:
数据库 时间:
2015-01-09 20:43:47
阅读次数:
198
Bulk Insert命令具体 BULK INSERT以用户指定的格式复制一个数据文件至数据库表或视图中。 语法:Sql代码 BULKINSERT[['database_name'.]['owner'].]{'table_name'FROM'data_file'} WITH( [BATCHSIZE[...
分类:
其他好文 时间:
2015-01-09 19:11:06
阅读次数:
199
同步思想:
先介绍客户端为最新数据的数据同步问题,这种机制常常应用在云笔记,随手记类似的app。
这里我建了一个listview,对listview上item的增删改,来代替实际项目中的情况。
1.对listview 和本地数据表datatable表(使用id作为数据唯一表示)映射,实现增删改。
2.每次将对本地数据表的操作记录在operation表中,在表中记录该操作的时间戳。
...
分类:
移动开发 时间:
2015-01-08 21:44:52
阅读次数:
884
Problem Description lxhgww got a sequence contains n characters which are all '0's or '1's. We have five operations here: Change operations: 0 a...
分类:
其他好文 时间:
2015-01-08 14:59:13
阅读次数:
288
Bulk Insert命令具体 BULK INSERT以用户指定的格式复制一个数据文件至数据库表或视图中。 语法:Sql代码 BULKINSERT[['database_name'.]['owner'].]{'table_name'FROM'data_file'} WITH( [BATCHSIZE[...
分类:
其他好文 时间:
2015-01-08 14:36:23
阅读次数:
237
Android进程一 1、复习结构 Engine基类 -abstract operation() 接口Interface Tire子类 -operation() 2、Process class、module、app在内存的某一区域执行,每块区域之间有一个隔阂,原则不能相互调用 通过一...
分类:
移动开发 时间:
2015-01-07 23:30:56
阅读次数:
277