string string = AnsiString =
长字符串,理论上长度不受限制,但其实受限于最大寻址范围2的32次方=4G字节;
变量Str名字是一个指针,指向位于堆内存的字符序列,字符序列起始于@Str[1],@Str[1]偏移负16个字节的空间存储着字串长度、引用计数等信息。字符序列.....
分类:
其他好文 时间:
2014-05-01 14:34:10
阅读次数:
487
1 exit 被用来结束一个脚本, 就像在C语言中一样. 它也返回一个值,
并且这个值会传递给脚本的父进程, 父进程会使用这个值做下一步的处理.2 每个命令都会返回一个 退出状态码 (有时候也被称为 返回状态 ). 成功的命令返回0,
而不成功的命令返回非零值, 非零值通常都被解释成一个错误码. 行...
分类:
其他好文 时间:
2014-05-01 14:30:55
阅读次数:
314
Hashtable h = new Hashtable();h.put("6",
"666");h.put("8", "888");h.put("2", "222");for (String key : h.keySet())
System.out.println(key);System.out.....
分类:
编程语言 时间:
2014-05-01 14:22:31
阅读次数:
383
eclipse安装maven插件-解决requires ‘bundle
org.slf4j.api
1.6.2′【转载】http://robin.sh/html/1526_eclipse-maven.html给eclipse安装maven插件,网上教程已经很多,不在累述。关键是安装过程中报错:req...
C++ 中到的类型转换很多,先记录下来,多了写成一个类1、int转CString1 CString
cNum="9527";2 int iNum = 0;3 iNum=atoi(LPCTSTR(cNum));View Code
分类:
编程语言 时间:
2014-05-01 14:12:49
阅读次数:
359
关键这句var strBodyStyle = "";var strFormHtml =
strBodyStyle + "" + document.getElementById("div1").innerHTML + "";把样式带进来
分类:
其他好文 时间:
2014-05-01 14:10:55
阅读次数:
391
Problem B: The Largest CliqueGiven a directed
graphG, consider the following transformation. First, create a new graphT(G)to
have the same vertex set ...
分类:
其他好文 时间:
2014-05-01 14:09:34
阅读次数:
357
这些天用泛型做了一个数据库的底层,自我感觉很方便,但是功能不是很完善,会继续考虑下去下面给大家分享一下代码1数据库连接的帮助类using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using...
分类:
数据库 时间:
2014-05-01 14:07:32
阅读次数:
603
YII 伪静态 IIS7 方法 web.config 注意把filename
改成对应的yii目录地址,我的这个是把YII嵌套到另一个程序里边了
分类:
Web程序 时间:
2014-05-01 14:06:16
阅读次数:
571
package com.achun.test;import
java.net.Inet4Address;import java.net.Inet6Address;import
java.net.InetAddress;import java.net.NetworkInterface;import j...
分类:
编程语言 时间:
2014-05-01 13:59:15
阅读次数:
438