上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 本文转自万一老师的博客 原文出处: http://www.cnblogs.com/del/archive/2008/11/12/1332011.html 此语句只对Delphi 2005以后的版本有效 一、遍历 Tstrings -------------------------------------------------------------------------------- va... 阅读全文
posted @ 2010-05-09 12:54 o无尘o 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 本文转自万一老师的博客 原文出处: http://www.cnblogs.com/del/category/114641.html静态数组的定义方法: //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&l... 阅读全文
posted @ 2010-05-09 11:29 o无尘o 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 本文转自万一老师的博客原文出处: http://www.cnblogs.com/del/archive/2007/12/10/990040.htmlvar List: TStringList; i: Integer; begin List := TStringList.Create; List.Add('Strings1'); {添加} List.Add('Strings2'); List.Exchange(0,1); {置换} List.Insert(0,'Strings3'); {插入} i := List.IndexOf('Stri 阅读全文
posted @ 2010-05-09 10:50 o无尘o 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 本文转自万一老师的博客 原文地址: http://www.cnblogs.com/del/archive/2008/01/18/1044301.html //关于属性的话题还有很多, 譬如: 数组属性、默认属性、class 属性等等. //先总结一下前面提到过的属性吧. ----------------------------------------------------------------... 阅读全文
posted @ 2010-05-09 00:07 o无尘o 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 本文转自万一老师博客.http://www.cnblogs.com/del/archive/2007/12/11/990797.html----------------------------------------------------------------------uses HTTPApp, Masks; procedure TForm1.Button1Click(Sender: TObject); var ss,s: string; begin //取DLL所在目录 F:\自做项目\XXX\MsgInjectTest\Release\Msgdll.dll szMsgDllPat.. 阅读全文
posted @ 2010-05-08 15:32 o无尘o 阅读(599) 评论(0) 推荐(0) 编辑
摘要: type TPerlRegEx = class(TComponent) public constructor Create(AOwner: TComponent); override; destructor Destroy; override; //此函数可以自动为特殊字符加转义符号 \ classfunction EscapeRegExChars(const S: string): ... 阅读全文
posted @ 2010-05-04 12:34 o无尘o 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 文件栏去下载 阅读全文
posted @ 2010-02-25 16:24 o无尘o 阅读(226) 评论(0) 推荐(0) 编辑
摘要: #include"stdafx.h"#include <iostream.h>#include <string.h>template <class T> classVector{ T *v; int sz;public: Vector(int s) { v=new T[s]; sz=s; } int size( ) { return sz; } T&... 阅读全文
posted @ 2010-02-09 21:15 o无尘o 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #include"stdafx.h"#include <fstream.h>#include <string.h>int main(int argc, char* argv[]){ ofstream of; of.open("ofstream.txt", ios::out | ios::binary); if ( !of.fail()) { of << 10... 阅读全文
posted @ 2010-02-09 20:52 o无尘o 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #include"stdafx.h"#include <iostream.h>#include <string.h>#include <strstrea.h>class Student{public: Student(const char *pStr,int nAge = 20) : m_nAge(nAge) { if ( pStr == NULL ) { //... 阅读全文
posted @ 2010-02-09 20:51 o无尘o 阅读(237) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页