public class ToLog { public static void
main(String[] args) throws Exception { //准备日志文件 File f = new File("log.txt");
if(!f.ex...
分类:
其他好文 时间:
2014-07-22 23:12:54
阅读次数:
300
Given a sorted linked list, delete all
duplicates such that each element appear onlyonce.For
example,Given1->1->2, return1->2.Given1->1->2->3->3,
retu...
分类:
其他好文 时间:
2014-07-22 23:12:13
阅读次数:
426
转载请注明出处控制文件(Control
File)是Oracle的物理文件之一,它记录了数据库的物理结构(数据文件、日志文件等的名称和位置),数据库转载和打开都需要控制文件,还记录了日志序列号,检查点和日志历史信息,同步和恢复数据库都需要控制文件。控制文件包含以下信息:
数据名称 数据文件名称和位置...
分类:
数据库 时间:
2014-07-22 23:11:16
阅读次数:
474
http://hi.baidu.com/zzy382/item/a5b197f97a38e01ba7298832之前电脑上安装了一个
Oracle 有一段时间没用,就把密码给忘了,按上面链接里的操作,重置密码成功,步骤如下:connect system/oracle以 system 用户
orac....
分类:
数据库 时间:
2014-07-22 23:09:56
阅读次数:
335
private void Form1_Load(object sender,
EventArgs e) { textBox1.Text= GenerateTimeStamp(System.DateTime.Now);
textBox2.Text ...
分类:
其他好文 时间:
2014-07-22 23:09:53
阅读次数:
302
$_$PROCESS_ID$$read a file line by
line#!/usr/bin/perluse strict;use warnings;my $dir ="./tmp";open (FH, ") {print
"$_";}
分类:
其他好文 时间:
2014-07-22 23:09:35
阅读次数:
293
本人使用的是poi-bin-3.10-FINAL-20140208.zip
版本的poi以下是程序关键代码://需要引用的类import java.io.File;import
java.io.FileInputStream;import java.io.FileOutputStream;impor...
分类:
其他好文 时间:
2014-07-22 23:09:34
阅读次数:
266
1、要使用Dictionary集合,需要导入C#泛型命名空间
System.Collections.Generic(程序集:mscorlib)2、描述
1)、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 2)、任何键都必须是唯一的 3)、键...
分类:
其他好文 时间:
2014-07-22 23:08:55
阅读次数:
292
客户需要一个Demo程序实现Access数据库表导出到Excel表格,并将表中存储的照片(OLE对象)以其中一个字段(编号)命名存储到本地。程序中引入了ADO操作Access数据库("C:\Program
Files\Common Files\System\ado\msado15.dll" no.....
分类:
其他好文 时间:
2014-07-22 23:08:15
阅读次数:
310
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379