原本一直使用 TList, 将定义的一个个 Record 保存在TList 里面, 为了能把某些对象管理起来, 例如一个类的 n 多实例,可以进行索引、查找、释放等今天刚看到原来已经有了一个叫 TDictionary 对象,用起来挺方便。 挺像我们在DB中定义的 Dictionary 表,Key、V...
--create or replace 创建或替换,如果存在就替换,不存在就创建create or replace procedure pis cursor c is select * from dept2 for update;begin for row_record in c loop if (...
分类:
数据库 时间:
2014-10-28 00:29:31
阅读次数:
268
program bzoj1023;uses math;const inf=1000000000; maxn=50005; maxm=20000005; type edge=record togo,next:longint;end; var n,m,cnt,ind,ans...
分类:
其他好文 时间:
2014-10-27 19:16:23
阅读次数:
203
program bzoj1015;{$inline on}const maxn=400001;type node=record togo,next:longint;end;var tot,n,m,d,cnt:longint; father,head,q,ans:array [0..max...
分类:
其他好文 时间:
2014-10-27 19:06:29
阅读次数:
162
program bzoj1828;const maxn=100001; check=10000000; type node=record l,r,s,a:longint;end;var t:array [0..maxn*5] of node; a,b,c:array [0.....
分类:
其他好文 时间:
2014-10-27 18:58:21
阅读次数:
233
第一次自己动手安装oracle,之前对oracle安装配置一窍不通,最后终于弄好,总结下。
1、 安装oracle10g服务器端
2、 安装oracle10g客户端。服务器端和客户端不一定要安装在同一个机器上。
3、 启动服务器端的NetConfiguration Assistant,配置监听程序
4、 使用DatabaseConfiguration Assistant向导创建数据...
分类:
数据库 时间:
2014-10-27 17:41:33
阅读次数:
240
解决方案1:
type?point?=?^node;
?node?=?record
?i:longint;
?n:point;
?end;
var?i,j,k,n,m,a,b,top:longint;
?map:array[1..10000]of?point;
?ans:array[1..10000]of?longint;
?stack,i...
分类:
编程语言 时间:
2014-10-27 15:52:51
阅读次数:
148
pl/sql developer中 timestamp时间类型显示格式设置: 添加一个系统环境变量: 名称: NLS_TIMESTAMP_FORMAT 值: YYYY-MM-DD HH24:MI:SS:FF6 保存后, 重启pl/sql developer 即可....
分类:
数据库 时间:
2014-10-27 15:52:42
阅读次数:
361
C++ 结构体数组的使用
以下代码可以在Windows的VC6,VC2008等上直接使用,也可以在MAC XCODE里面使用
第一步:定义一个结构体
注意:不要用char *类型,用容易操作的string
// Group
typedef struct GROUP_RECORD
{
std::string grou...
分类:
编程语言 时间:
2014-10-27 12:54:32
阅读次数:
190
unit?uGetTickCount64;
interface
uses?windows;
?function?_GetTickCount64():?Int64;
implementation
type
????LARGE_INTEGER?=?record
??????lowpart??:integer?;
??????highpart?...
分类:
其他好文 时间:
2014-10-26 17:08:25
阅读次数:
407