1 /************************************************************************* 2 > File Name: j.cpp 3 > Author: HJZ 4 > Mail: 2570230521@qq...
分类:
其他好文 时间:
2014-08-28 18:03:05
阅读次数:
338
http://ruby-doc.org/core-2.1.2/File.html#method-c-dirname(1)basename(file_name [, suffix] ) → base_nameReturns the last component of the filename give...
分类:
其他好文 时间:
2014-08-28 17:58:25
阅读次数:
202
使用对用的util包下的properties包就可以了,这样我们有配置的话,写到一个properties文件中更直观。这里写一个比较丑的例子:package com.property;import java.io.File;import java.io.FileInputStream;import ...
分类:
编程语言 时间:
2014-08-28 17:57:55
阅读次数:
249
宏定义 首先介绍两个宏定义,看如下代码 代码1 /************************************************************************* > File Name: test.c > Author: KrisChou > Mail:zhouj...
分类:
系统相关 时间:
2014-08-28 17:57:15
阅读次数:
294
附带通用控件安装方法:----------基本安装1、对于单个控件,Componet-->install component..-->PAS或DCU文件-->install;2、对于带*.dpk文件的控件包,File-->Open(下拉列表框中选*.dpk)-->install即可;3、对于带*.b...
分类:
其他好文 时间:
2014-08-28 17:45:25
阅读次数:
201
下载完成后解压到你的指写目录!
1、在library里加入ICS->Delphi->Vc32目录。
2、从File->Open中打开ICS->Delphi->Vc32->IcsDel110.dproj文件。(文件名在其它Delphi版本略有不同)
3、在项目管理器中,右键IcsDel110.bpl选择Build和Install,就安装完成了!...
分类:
其他好文 时间:
2014-08-28 16:56:40
阅读次数:
225
方法一:
在目前绝大部分数据库有分布式查询的需要。下面简单的介绍如何在oracle中配置实现跨库访问。
比如现在有2个数据库服务器,安装了2个数据库。数据库server A和B。现在来实现在A库中访问B的数据库。
第一步、配置A服务器端的tnsnames.ora文件(TNSNAMES.ORA Network Configuration File),该文件存放的位置为:
$O...
分类:
数据库 时间:
2014-08-28 16:17:19
阅读次数:
288
Call openFileOutput() with
the name of the file and the operating mode. This returns a FileOutputStream.通过 openFileOutput()建立FileoutputStream对象Write to the file with write().创建Write对象并进行数据读写操作Close ...
分类:
移动开发 时间:
2014-08-28 16:16:29
阅读次数:
328
文本中保存的内容为:{ 'QQQ': [0.067, 0.167, 0.2, 0.033, 0.233, 0.267, 0.1, 0.133], 'TTT': [0.5, 0.375, 0.25, 0.3, 0.6, 0.333, 0.857, 0.636, 0.667, 0.55...
分类:
编程语言 时间:
2014-08-28 16:05:49
阅读次数:
1084
用Linux dd命令做从文件指定其实位置的二进制拷贝 示例如下: dd if=./file1.bin of=./file2.bin skip=1013 bs=1 意思是从文件file1.bin的1013个字节开始拷贝,生成文件file2.bin 指定位置:可用skip参数来制定忽...
分类:
移动开发 时间:
2014-08-28 15:03:10
阅读次数:
259