社区
Delphi
帖子详情
error creatin form :未指定错误
siyuanyugang
2006-06-23 11:19:02
我在自己的机子上用delphi5可以打开我的文件,运行也正常,
但是在有的机子上打开文件时会报如题错误,运行时exe时也报未指定错误,
请问各位是怎么回事,难道和系统还有关系吗
...全文
61
回复
打赏
收藏
error creatin form :未指定错误
我在自己的机子上用delphi5可以打开我的文件,运行也正常, 但是在有的机子上打开文件时会报如题错误,运行时exe时也报未指定错误, 请问各位是怎么回事,难道和系统还有关系吗
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
《数据结构 1800题》
《数据结构 1800题》 第一章 绪论 一、选择题 1. 算法的计算量的大小称为计算的(B )。【北京邮电大学2000 二、3 (20/8分)】 A.效率 B. 复杂性 C. 现实性 D. 难度 2. 算法的时间复杂度取决于(C )【中科院计算所 1998 二、1 (2分)】 A.问题的规模 B. 待处理数据的初态 C. A和 B 3.计算机算法指的是(C),它必须具备(B) 这三个特性。 (1) A.计算方法 B. 排序方法 C. 解决问题的步骤序列 D. 调度方法 (2) A.可执行性、可移植性、可扩充性 B. 可执行性、确定性、有穷性 C. 确定性、有穷性、稳定性 D. 易读性、稳定性、安全性 【南京理工大学 1999 一、1(2分) 【武汉交通科技大学 1996 一、1( 4分)】 4.一个算法应该是( B )。【中山大学 1998 二、1(2分)】 A.程序 B.问题求解步骤的描述 C.要满足五个基本特性 D.A和 C. 5. 下面关于算法说法
错误
的是(D )【南京理工大学 2000 一、1(1.5分)】 A.算法最终必须由计算机程序实现 B.为解决某问题的算法同为该问题编写的程序含义是相同的 C. 算法的可行性是指指令不能有二义性 D. 以上几个都是
错误
的 6. 下面说法
错误
的是(C )【南京理工大学 2000 一、2 (1.5分)】 (1)算法原地工作的含义是指不需要任何额外的辅助空间 (2)在相同的规模 n下,复杂度O(n)的算法在时间上总是优于复杂度 O(2 n)的算法 (3)所谓时间复杂度是指最坏情况下,估算算法执行时间的一个上界 (4)同一个算法,实现语言的级别越高,执行效率就越低 A.(1) B.(1),(2) C.(1),(4) D.(3) 7.从逻辑上可以把数据结构分为(C )两大类。【武汉交通科技大学 1996 一 、4(2分)】 A.动态结构、静态结构 B.顺序结构、链式结构 C.线性结构、非线性结构 D.初等结构、构造型结构 8.以下与数据的存储结构无关的术语是(D )。【北方交通大学 2000 二、1(2分)】 A.循环队列 B. 链表 C. 哈希表 D. 栈 9.以下数据结构中,哪一个是线性结构(D)?【北方交通大学 2001 一、1(2分)】 A.广义表 B. 二叉树 C. 稀疏矩阵 D. 串 10.以下那一个术语与数据的存储结构无关?(A )【北方交通大学 2001 一、2(2分)】 A.栈 B. 哈希表 C. 线索树 D. 双向链表 11.在下面的程序段中,对 x的赋值语句的频度为(C )【北京工商大学 2001 一、10(3分)】 FOR i:=1 TO n DO FOR j:=1 TO n DO x:=x+1; A. O(2n) B.O(n) C.O(n2) D.O(log2n) 12.程序段 FOR i:=n-1 DOWNTO 1 DO FOR j:=1 TO i DO IF A[j]>A[j+1] THEN A[j]与A[j+1]对换; 其中 n为正整数,则最后一行的语句频度在最坏情况下是(D ) 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 A. O(n) B. O(nlogn) C. O(n3) D. O(n2) 【南京理工大学 1998一、1(2分)】 13.以下哪个数据结构不是多型数据类型(D )【中山大学 1999 一、3(1分)】 A.栈 B.广义表 C.有向图 D.字符串 14.以下数据结构中,(A )是非线性数据结构【中山大学 1999 一、4】 A.树 B.字符串 C.队 D.栈 15. 下列数据中,(C )是非线性数据结构。【北京理工大学 2001 六、1(2分)】 A.栈 B. 队列 C. 完全二叉树 D. 堆 16.连续存储设计时,存储单元的地址(A )。【中山大学 1999 一、1(1分)】 A.一定连续 B.一定不连续 C.不一定连续 D.部分连续,部分不连续 17.以下属于逻辑结构的是(C )。【西安电子科技大学应用 2001一、1】 A.顺序表 B. 哈希表 C.有序表 D. 单链表 二、判断题 1. 数据元素是数据的最小单位。( ) 【北京邮电大学 1998 一、1(2分)】【青岛大学 2000 一、1 (1分)】 【上海交通大学 1998 一、1】 【山东师范大学 2001 一、1 (2分)】 2. 记录是数据处理的最小单位。 ( ) 【上海海运学院 1998 一、5(1分)】 3. 数据的逻辑结构是指数据的各数据项之间的逻辑关系;( )【北京邮电大学2002 一、1(1分)】 4.算法的优劣与算法描述语言无关,但与所用计算机有关。( )【大连海事大学 2001 一、10(1分)】 5.健壮的算法不会因非法的输入数据而出现莫名其妙的状态。( )【大连海事大学 2001 一、11(1分)】 6.算法可以用不同的语言描述,如果用C 语言或 PASCAL语言等高级语言来描述,则算法实际上就是程序 了。( )【西安交通大学 1996 二、7(3分)】 7.程序一定是算法。( )【燕山大学 1998 二、2(2分)并改错】 8.数据的物理结构是指数据在计算机内的实际存储形式。( )【山东师范大学2001 一、2(2分)】 9. 数据结构的抽象操作的定义与具体实现有关。( )【华南理工大学 2002 一、1(1分)】 10. 在顺序存储结构中,有时也存储数据结构中元素之间的关系。( )【华南理工大学 2002 一、2 (1分)】 11. 顺序存储方式的优点是存储密度大,且插入、删除运算效率高。( )【上海海运学院 1999 一、1(1分)】 12. 数据结构的基本操作的设置的最重要的准则是,实现应用程序与存储结构的独立。( ) 【华南理工大学 2002 一、5(1分)】 13. 数据的逻辑结构说明数据元素之间的顺序关系,它依赖于计算机的储存结构. ( ) 【上海海运学院 1998 一、1(1分)】 三、填空 1.数据的物理结构包括(数据元素) 的表示和(数据元素间的关系) 的表示。【燕山大学 1998 一、1(2分)】 2. 对于给定的 n个元素,可以构造出的逻辑结构有 (1)集合 , (2)线性结构 , (3)树型结构 ,_图状结构_(4)_四种。 【中科院计算所 1999 二、1(4分)】 3.数据的逻辑结构是指(数据的组织形式,即数据元素之间逻辑关系的总体。而逻辑关系是指数据元素之间的关联方式或称) 。【北京邮电大学 2001 二、1(2分)】 4.一个数据结构在计算机中(表示) 称为存储结构。【华中理工大学 2000 一、1(1分)】 5.抽象数据类型的定义仅取决于它的一组__(1)_,而与_(2)_无关,即不论其内部结构如何变化,只要它的_(3)_不变,都不影响其外部使用。【山东大学 2001 三、3(2分)】 6.数据结构中评价算法的两个重要指标是(时间复杂度和空间复杂度) 【北京理工大学 2001 七、1(2分)】 7. 数据结构是研讨数据的_(1)物理结构_和_(2)逻辑结构 _,以及它们之间的相互关系,并对与这种结构定义相应的_操作(3)_,设计出相应的(4)算法_。【西安电子科技大学 1998 二、2(3分)】 8. 一个算法具有 5个特性: (1)有穷性 、 (2)确定性 、 (3)可行性 ,有零个或多个输入、有一个或多个输出。 《数据结构 1800题》 9.已知如下程序段 FOR i:= n DOWNTO 1 DO {语句 1} BEGIN x:=x+1; {语句 2} FOR j:=n DOWNTO i DO {语句 3} y:=y+1; {语句 4} END; 语句1执行的频度为 (1);语句2执行的频度为 (2);语句3执行的频度为 (3);语句4执 行的频度为 (4) 。【北方交通大学 1999 二、4(5分)】 10.在下面的程序段中,对x的赋值语句的频度为__t(n)=O(n3)____(表示为 n的函数) FOR i:=1 TO n DO FOR j:=1 TO i DO FOR k:=1 TO j DO x:=x+delta; 【北京工业大学 1999 一、6(2分)】 11.下面程序段中带下划线的语句的执行次数的数量级是:【合肥工业大学 1999三、1(2分)】 i:=1; WHILE i
1) sum=1; for (i=0;sum
错误的是( )【南京理工大学 2000 一、3(1.5分)】 A.(1),(2) B.(1) C.(1),(2),(3) D.(2) 13.若长度为 n的线性表采用顺序存储结构,在其第 i个位置插入一个新元素的算法的时间复杂度为 ( )(1<=iLlink=q;q->Rlink=p;p->Llink->Rlink=q;q->Llink=q; B. p->Llink=q;p->Llink->Rlink=q;q->Rlink=p;q->Llink=p->Llink; C. q->Rlink=p;q->Llink=p->Llink;p->Llink->Rlink=q;p->Llink=q; D. q->Llink=p->Llink;q->Rlink=q;p->Llink=q;p->Llink=q; 24.在单链表指针为 p的结点之后插入指针为 s的结点,正确的操作是:( )。 A.p->next=s;s->next=p->next; B. s->next=p->next;p->next=s; C.p->next=s;p->next=s->next; D. p->next=s->next;p->next=s; 【青岛大学 2001 五、3(2分)】 25.对于一个头指针为 head的带头结点的单链表,判定该表为空表的条件是( ) A.head==NULL B.head→next==NULL C.head→next==head D.head!=NULL 【北京工商大学 2001 一、5(3分)】 26. 在双向链表存储结构中,删除 p所指的结点时须修改指针( )。 A. (p^.llink)^.rlink:=p^.rlink (p^.rlink)^.llink:=p^.llink; B. p^.llink:=(p^.llink)^.llink (p^.llink)^.rlink:=p; C. (p^.rlink)^.llink:=p p^.rlink:=(p^.rlink)^.rlink 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 D. p^.rlink:=(p^.llink)^.llink p^.llink:=(p^.rlink)^.rlink; 【西安电子科技大学 1998 一、1(2分)】 27. 双向链表中有两个指针域,llink和 rlink分别指向前趋及后继,设 p指向链表中的一个结点,现要 求删去 p所指结点,则正确的删除是( )(链中结点数大于2,p不是第一个结点) A.p^.llink^.rlink:=p^.llink; p^.llink^.rlink:=p^.rlink; dispose(p); B.dispose(p); p^.llink^.rlink:=p^.llink; p^.llink^,rlink:=p^.rlink; C.p^.llink^.rlink:=p^.llink; dispose(p); p^.llink^.rlink:=p^.rlink; D.以上A,B,C都不对。 【南京理工大学 1997 一、1(2分)】 二、判断 1. 链表中的头结点仅起到标识的作用。( )【南京航空航天大学 1997 一、1(1分)】 2. 顺序存储结构的主要缺点是不利于插入或删除操作。( )【南京航空航天大学1997 一、2(1分)】 3.线性表采用链表存储时,结点和结点内部的存储空间可以是不连续的。( ) 【北京邮电大学 1998 一、2(2分)】 4.顺序存储方式插入和删除时效率太低,因此它不如链式存储方式好。( ) 【北京邮电大学 2002 一、2(1分)】 5. 对任何数据结构链式存储结构一定优于顺序存储结构。( )【南京航空航天大学 1997 一、3(1分)】 6.顺序存储方式只能用于存储线性结构。( ) 【中科院软件所 1999 六、1-2(2分)】【上海海运学院 1997 一、1(1分)】 7.集合与线性表的区别在于是否按关键字排序。( )【大连海事大学 2001 一、5 ( 1分)】 8. 所谓静态链表就是一直不发生变化的链表。( )【合肥工业大学 2000 二、1(1分)】 9. 线性表的特点是每个元素都有一个前驱和一个后继。( )【合肥工业大学2001 二、1(1分)】 10. 取线性表的第i个元素的时间同i的大小有关. ( )【南京理工大学 1997 二、9(2分)】 11. 循环链表不是线性表. ( )【南京理工大学 1998 二、1(2分)】 12. 线性表只能用顺序存储结构实现。( )【青岛大学 2001 四、2(1分)】 13. 线性表就是顺序存储的表。( )【青岛大学 2002 一、1(1分)】 14.为了很方便的插入和删除数据,可以使用双向链表存放数据。( ) 【上海海运学院 1995 一、1(1分)】 【上海海运学院 1997 一、2(1分)】 15. 顺序存储方式的优点是存储密度大,且插入、删除运算效率高。( ) 【上海海运学院 1996 一、1(1分)】 【上海海运学院 1999 一、1(1分)】 16.链表是采用链式存储结构的线性表,进行插入、删除操作时,在链表中比在顺序存储结构中效率高。 ( ) 【上海海运学院 1998 一、2(1分)】 三、填空 1.当线性表的元素总数基本稳定,且很少进行插入和删除操作,但要求以最快的速度存取线性表中的元 素时,应采用_______存储结构。【北方交通大学 2001 二、4】 2.线性表 L=(a1,a2,…,an)用数组表示,假定删除表中任一元素的概率相同,则删除一个元素平均需要 移动元素的个数是________。【北方交通大学 2001 二、9】 3.设单链表的结点结构为(data,next),next为指针域,已知指针 px指向单链表中 data为 x的结点,指 针 py指向 data为 y的新结点 , 若将结点 y插入结点 x之后,则需要执行以下语句:_______; ______; 【华中理工大学 2000 一、4(2分)】 4.在一个长度为 n的顺序表中第 i个元素(1<=i0 DO 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 BEGIN (2); (3); (4); (5); read(k) END; q^.next:=NIL; END;【北京师范大学 1999 三】 21. 已给如下关于单链表的类型说明: TYPE list=^node ; node=RECORD data: integer; next: list; END; 以下程序采用链表合并的方法,将两个已排序的单链表合并成一个链表而不改变其排序性(升序),这 里两链表的头指针分别为 p和 q. PROCEDURE mergelink(VAR p,q:list): VAR h,r: list; BEGIN (1)______ h^.next:= NIL; r:=h; WHILE((pNIL) AND (qNIL)) DO IF (p^.data<=q^.data) THEN BEGIN (2)___; r:=p; p:=p^.next; END ELSE BEGIN (3)____; r:=q; q:=q^.next; END; IF (p=NIL) THEN r^.next:=q; (4)__; p:=h^.next; dispose(h); END;【厦门大学 2000 三、2 (8分)】 22.假设链表 p和链表q中的结点值都是整数,且按结点值的递增次序链接起来的带表头结点的环形链表。 各链表的表头结点的值为max,且链表中其他结点的值都小于max,在程序中取 max为 9999。在各个链表中, 每个结点的值各不相同,但链表 p和链表 q可能有值相同的结点(表头结点除外)。下面的程序将链表 q 合并到链表 p中,使得合并后的链表是按结点值递增次序链接起来的带表头结点的环形链表,且链表中各 个结点的值各不相同。请在划线处填上适当内容,每个框只填一个语句或一个表达式,链表的结点类型如 下 TYPE nodeptr=^nodetype; nodetype=RECORD data:integer; link:nodeptr; END; CONST max=9999; PROCEDURE merge(VAR p:nodeptr;q:nodeptr); VAR r,s: nodeptr; BEGIN r:=p; WHILE (A)___ DO BEGIN 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 WHILE r^.link^.dataq^.link^.data THEN BEGIN s:=(C)_; (D)_:=s^.link; s^.link:=(E)_; (F)_ _:=s; (G)_; END ELSE BEGIN (H)__; s:=q^.link; (I)__; dispose(s) END END; dispose(q) END;【复旦大学 1997 五(18分)】 23.PROC ins__linklist(la:linkisttp; i:integer; b:elemtp); {la为指向带头结点的单链表的头指针,本算法在表中第 i个元素之前插入元素 b} p:=(1) ; j:=(2) ;{指针初始化,j为计数器} WHILE (pNIL) AND ((3) ) DO [p:=(4) ; j:=j+1;] {寻找第 i-1 个结点} IF (p=NIL) OR ((5) ) THEN
error
(‘No this position’) ELSE [new(s) ; s↑.data:=b; s↑.next:=p↑.next; p↑.next:=s;] ENDP;{ins-linklist}【燕山大学 1998 四、1(15分)】 24. 已知双链表中结点的类型定义为: TYPE dpointer=^list; list=RECORD data:integer; left,right:dpointer; END; 如下过程将在双链表第 i个结点(i>=0)之后插入一个元素为 x的结点,请在答案栏给出题目中______处 应填入的语句或表达式,使之可以实现上述功能。 PROCEDURE insert(VAR head:dpointer;i,x:integer); VAR s,p:dpointer; j: integer; BEGIN new(s); s^.data:=x; IF(i=0)THEN BEGIN s^.right:=head; (1)___ head:=s END{如果i=0,则将 s结点插入到表头后返回} ELSE BEGIN p:=head; (2)_______;{在双链表中查找第 i个结点,由 p所指向} WHILE ((pNIL) AND (j
reate_link_list(n)建立一个具有 n个结点的环形链表;程序过程 josephus(n,i,m)对由C
reat
e_link_list(n)所建立的具有n个结点的环形链表按一定的次序逐个输出并删 除链表中的所有结点,参数 n(n>0)指明环形链表的结点个数,参数 i(1<=i0) 是步长,指明从起始结点或前次被删除并输出的结点之后的第 m个结点作为本次被输出并删除的结点。例 如,对于下图中具有 6个结点的环形链表,在调用 josephus(6,3,2)后,将输出 5,1,3,6,4,2 请在横线 处填上适当内容,每空只填一个语句。 TYPE nodeptr=^nodetype; nodetype=RECORD data: intrger; link: nodeptr END; VAR n,i,m: integer; FUNCTION C
reat
e_link_list(n: integer): nodeptr; VAR head,p,q: nodeptr; i:integer; BEGIN head := NIL; IF n>0 THEN BEGIN new(head); p: =head; FOR i:=1 TO n-1 DO BEGIN p^.data:=i; new(q); (A)____; (B)____ END; p^.data:=n; (C)___; END; C
reat
_link_list:=head END; PROCEDURE josephus(n,i,m:integer); VAR p,q:nodeptr; j:integer; BEGIN p:=C
reat
_link_list(n); WHILE i>1 DO BEGIN p:=p^.link; i:=i-1 END; (D)___ ; WHILE j
p^.pre^.freq DO p:=p^.pre; IF pq THEN [ (3)______ ] ]; IF (4)_ THEN [q^.next:=p, q^.pre;=p^.pre; p^.pre^.next:=q; p^.pre:=q] return(q); END;【北京工业大学 1999 五 (12分)】 29.循环链表 a和b的结点值为字母,其中 a表非递减有序,下面的程序欲构造一个递增有序的循环链表 c,其中结点的值为同时在a,b两链表中出现的字母,且 c中字母不重复,请补上程序中空缺的部分,并 估计算法的时间复杂度。(设a,b的结点数分别为m,n) TYPE link=^node; node=RECORD key:char; next:link END; PROC jj(a,b:link; VAR c:link); VAR p,q,r,s:link; BEGIN new(c);c^.next:=c; q:=a; p:=a^.next; WHILE pa DO [(1)___; WHILE p^.key=p^.next^.key DO [q:=p; p=p^.next];{跳过相同字母} r:=b^.next ; (2)_____; WHILE r^.key p^.key DO r:=r^.next; IF rb THEN [ s:=p; q^.next:=p^.next; (3) ; s^.next:=c^.next; c^.next:=s; c:=s ] ELSE [ q:=p; p:=p^.next ] ]; c:=c^.next; END; 算法时间复杂度为O(4)___ 【北京工业大学 2000 四 (15分)】 30. 以下程序的功能是实现带附加头结点的单链表数据结点逆序连接,请填空完善之。 void reverse(pointer h) /* h为附加头结点指针;类型 pointer同算法设计第 3题*/ { pointer p,q; p=h->next; h->next=NULL; while((1)________) {q=p; p=p->next; q->next=h->next; h->next=(2)________; } }【西南交通大学 2000 一、9】 31. 下面是用 c语言编写的对不带头结点的单链表进行就地逆置的算法,该算法用 L返回逆置后的链表的 头指针,试在空缺处填入适当的语句。 void reverse(linklist &L){ p=null;q=L; while(q!=null) 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 { (1) ; q->next=p;p=q;(2)___ ; } (3)_____; }【北京理工大学 2001 九、1 (6分)】 32.下面程序段是逆转单向循环链表的方法,p0 是原链表头指针,逆转后链表头指针仍为 p 0。 (可以根据需要增加标识符) p:= p0; q0:=NIL; WHILE (1)________ DO BEGIN (2)________; (3)________;(4)______;(5)________ END; p^.next:= q0; p0 ^.next:=p; p0:=p;【中国人民大学 2000 二、1(4分)】 33.一个无头结点的线性链表(不循环)有两个域。数据域 data,指针域 next,链首 head,下面算法用 read(num)读入数据,当 num小于 0时,输入结束。建立一个数据以递增序组成的链表。 PROC insert( head, x); {在链首为 head的表中按递增序插入 x} new(r);r^.data:=x; IF head=NIL THEN[ head:=(1) _____; r^.next:= (2)________ ] ELSE IF (3)___ THEN [r^ .next:=head; head:=r] ELSE [p:=head; WHILE (4)___ AND (p^.next≠NIL ) DO[q:=p; (5)___ ]; IF (6)___ THEN [ q^ .next:=(7)___; r^.next:= (8)____; ] ELSE [p^.next:=(9)____; r^.next:= (10)___; ] ] ENDP; PROC c
reat
(head); head:= (11)______; read(num); WHILE num>0 DO [ insert(head,num); read(num) ] ENDP;【南京理工大学 1999 三、4(11分)】 34. 一元稀疏多项式以循环单链表按降幂排列,结点有三个域,系数域coef ,指数域exp和指针域 next; 现对链表求一阶导数 ,链表的头指针为ha,头结点的 exp域为 –1。 derivative(ha) { q=ha ; pa=ha->next; while( (1)_______) { if ( (2)____) { ( (3)__); free(pa); pa= ( (4) _); } else{ pa->coef ( (5) ___); pa->exp( (6)___); q=( (7) __);} pa=( (8)________); } } 【南京理工大学 2000 三、3(10分)】 35.下面是删除单链表 L中最大元素所在结点的类 PASCAL语言算法,请在横线填上内容,完成其功能。 TYPE pointer =↑node; node=RECORD data:integer; next: pointer END; PROCEDURE delmax (L:pointer); 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 VAR p,q,r:pointer; m:integer; BEGIN r:=L; p:=L↑.next; IF pNIL THEN [ m:=p↑.data; (1)________; p:=p↑.next; WHILE pNIL DO [ IF (2)________THEN [ (3)________ ; m:=p↑.data; ] (4)________; p:=p↑.next; ] q:=r↑.next; (5)______; dispose(q); ] END;【北京科技大学 1998 二】 36.对单链表中元素按插入方法排序的 C语言描述算法如下,其中 L为链表头结点指针。请填充算法中标 出的空白处,完成其功能。 typedef struct node {int data; struct node *next; }linknode,*link; void Insertsort(link L) { link p,q,r,u; p=L->next; (1)______; while((2)________) { r=L; q=L->next; while((3)________&& q->datadata) {r=q; q=q->next;} u=p->next; (4)______; (5)______; p=u; } }【北京科技大学 2001 二 (10分)】 37.下面是一个求两个集合 A和B之差 C=A-B的程序,即当且仅当 e是 A的一个元素,但不是 B中的一个 元素时,e才是 C中的一个元素。集合用有序链表实现,初始时,A,B集合中的元素按递增排列,C为空; 操作完成后A,B保持不变,C中元素按递增排列。下面的函数append(last,e)是把值为 e的新结点链接 在由指针 last指向的结点的后面,并返回新结点的地址;函数difference(A,B)实现集合运算A-B,并返 回表示结果集合 C的链表的首结点的地址。在执行 A-B运算之前,用于表示结果集合的链表首先增加一个 附加的表头结点,以便新结点的添加,当 A-B运算执行完毕,再删除并释放表示结果集合的链表的表头结 点。 程序(a)(编者略去这个 PASCAL程序) 程序(b) typedef struct node{ int element; struct node *link; }NODE; NODE *A,*B,*C; NODE *append (NODE *last,int e) { last->link=(NODE*) malloc (sizeof(NODE)); last->link->element=e; return(last->link); } NODE *difference(NODE *A,NODE *B) 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 {NODE *C,*last; C=last=(NODE*) malloc (sizeof(NODE)); while (1)___ if (A->elementelement) { last=append(last,A->element); A=A->link; } else if (2) ___ { A=A->link; B=B->link; } ELSE (3) ___ ; while (4) __ { last=append(last,A->element); A=A->link; } (5) ___; last=C; C=C->link; free (last); return (C); } /*call
form
:C=difference(A,B);*/【上海大学 2000 一、4 (10分)】 四 应用题 1.线性表有两种存储结构:一是顺序表,二是链表。试问: (1)如果有 n个线性表同时并存,并且在处理过程中各表的长度会动态变化,线性表的总数也会自 动地改变。在此情况下,应选用哪种存储结构? 为什么? (2)若线性表的总数基本稳定,且很少进行插入和删除,但要求以最快的速度存取线性表中的元素, 那么应采用哪种存储结构?为什么?【西安电子科技大学 1999软件 二、1 (5分)】 2.线性表的顺序存储结构具有三个弱点:其一,在作插入或删除操作时,需移动大量元素;其二,由于 难以估计,必须预先分配较大的空间,往往使存储空间不能得到充分利用;其三,表的容量难以扩充。线 性表的链式存储结构是否一定都能够克服上述三个弱点,试讨论之。【重庆大学 2000 二、5】 3.若较频繁地对一个线性表进行插入和删除操作,该线性表宜采用何种存储结构?为什么? 【北京航空航天大学 1998 一、2(4分)】 4.线性结构包括______、______、_______和_______。线性表的存储结构分成______和______。请用类 PASCAL语言描述这两种结构。【华北计算机系统工程研究所 1999一、2(10分)】 5.线性表(a 1,a2,…,a n)用顺序映射表示时,a i和ai+1(1<=i
=pre↑.data THEN pre:=p ELSE return(false) END; return(true); 【燕山大学 2000 七、1 (7分)】 12. 设单链表结点指针域为next,试写出删除链表中指针 p所指结点的直接后继的 C语言语句。 【北京科技大学 2000 一、3】 13. 设单链表中某指针 p所指结点(即 p结点)的数据域为data,链指针域为next,请写出在 p结点之 前插入 s结点的操作(PASCAL语句)。【北京科技大学 1999 一、2 (2分)】 14. 有线性表(a 1,a2,…,an),采用单链表存储,头指针为H,每个结点中存放线性表中一个元素,现查找某 个元素值等于X的结点。分别写出下面三种情况的查找语句。要求时间尽量少。 (1)线性表中元素无序。(2)线性表中元素按递增有序。 (3)线性表中元素按递减有序。 【北京邮电大学 1994 七 (7分)】 15.设pa,pb分别指向两个带头结点的有序(从小到大)单链表。仔细阅读如下的程序,并回答问题: (1) 程序的功能。(2) s1,s2中值的含义。(3) pa,pb中值的含义。 PROCEDURE exam(pa,pb) BEGIN p1:=pa↑.next; p2:=pb↑.next; pa↑.next:=∧; s1:=0; s2:=0; WHILE p1≠∧ AND p2≠∧ DO [ CASE p1↑.datap2↑.data: p2:=p2↑.next; p1↑.data=p2↑.data: [p:=p1; p1:=p1↑.next; p↑.next:= pa↑.next; pa↑.next:= p; p2:= p2↑.next;s1:=s1+1; ]; END ]; WHILE p1≠∧ DO [ p:=p1; p1:=p1↑.next; dispose(p); s2:=s2+1 ] END;【南京航空航天大学 1995 十 (9分)】 16.写出下图双链表中对换值为 23和 15的两个结点相互位置时修改指针的有关语句。 结点结构为:(llink,data,rlink) 【北京邮电大学 1992 三、4 (25/4分)】 17.按照下列题目中的算法功能说明,将算法描述片段中的
错误
改正过来。 (1) (4分)下面的算法描述片段用于在双链表中删除指针变量 p所指的结点: p^.rlink←p^.llink^.rlink; p^.llink←p.^rlink^.llink dispose(p); (2) (6分)下面的算法描述片段用于在双链表中指针变量 p所指结点后插入一个新结点: 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 new(q); q^.llink←p; p^.rlink←q; q^.rlink←p^.rlink; q←p^.rlink^.llink; 【山东大学 1999 八(10分)】 18.已知 L是一个数据类型 linkedlist的单循环链表,pa和 pb是指向 L中结点的指针。简述下列程序段 的功能。【山东科技大学 2001 一、2 (5分)】 TYPE linkedlist=↑node; node=RECORD data:datatype; next:linkedlist END; PROC Mp(pa,pb:linkedlist); PROC subp(s,q: linkedlist); p:=s; WHILE p↑.nextq DO p:=p↑.next; p↑.next:=s ENDP; subp(pa,pb); subp(pb,pa); ENDP; 19.设双向循环链表中结点的数据域、前驱和后继指针域分别为 data,pre和 next,试写出在指针p 所指 结点之前插入一 s结点的 C语言描述语句。【北京科技大学 2001 一、3 (2分)】 20.本题给出一个子程序的框图,如图2,试填空完善此算法框图。该子程序用来寻找第一个均出现在三 个整数单向链表f1,f2,f3中的相同整数。假定在调用该子程序前,这三个整数链表已按从小到大的次 序排序,单向链表的形式如下图 1的例子所示。 注:在图 2的框图中:found和exit均为布尔型的变量,可取值为 true和 false。val是整型变量, 用来存放第一个均出现在f1,f2,f3中的相同整数。若f1,f2和f3中无相同的整数,found 的值为false, 否则 found的值为true。f1↑.link表示访问 f1所指结点的 link域。 【哈尔滨工业大学 1999 三 (15分)】 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 21. 一线性表存储在带头结点的双向循环链表中,L为头指针。如下算法: (1)说明该算法的功能。(2)在空缺处填写相应的语句。 void unknown (BNODETP *L) { … p=L->next; q=p->next; r=q->next; while (q!=L) { while (p!=L) && (p->data>q->data) p=p->prior; q->prior->next=r;(1) ______; q->next=p->next;q->prior=p; (2) ______;(3) ______; q=r;p=q->prior; (4) ______; 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 } } 【北京理工大学 1999 第二部分 数据结构 [7] (8分)】 五、算法设计题 1.假设有两个按元素值递增次序排列的线性表,均以单链表形式存储。请编写算法将这两个单链表归并 为一个按元素值递减次序排列的单链表,并要求利用原来两个单链表的结点存放归并后的单链表。 【北京大学 1998 三、1 (5分)】 类似本题的另外叙述有: (1)设有两个无头结点的单链表,头指针分别为ha,hb,链中有数据域data,链域next,两链表的数据都 按递增序存放,现要求将hb表归到ha表中,且归并后ha仍递增序,归并中ha表中已有的数据若hb中也有, 则 hb中的数据不归并到 ha中,hb的链表在算法中不允许破坏。【南京理工大学1997 四、3(15分)】 PROCEDURE merge(ha,hb); (2)已知头指针分别为la和lb 的带头结点的单链表中,结点按元素值非递减有序排列。写出将la 和 lb两链表归并成一个结点按元素值非递减有序排列的单链表(其头指针为 lc),并计算算法的时间复杂度。 【燕山大学 1998 五 (20分)】 2. 图(编者略)中带头结点且头指针为 ha和 hb的两线性表 A和B 分别表示两个集合。两表中的元素皆 为递增有序。请写一算法求 A和 B的并集AUB。要求该并集中的元素仍保持递增有序。且要利用 A和 B的 原有结点空间。【北京邮电大学 1992 二 (15分)】 类似本题的另外叙述有: (1) 已知递增有序的两个单链表A,B分别存储了一个集合。设计算法实现求两个集合的并集的运算 A:=A∪B【合肥工业大学 1999 五、1(8分)】 (2)已知两个链表 A和 B分别表示两个集合,其元素递增排列。编一函数,求 A与 B的交集,并存放于 A链表中。【南京航空航天大学 2001 六(10分)】 (3)设有两个从小到大排序的带头结点的有序链表。试编写求这两个链表交运算的算法(即 L1∩L2)。 要求结果链表仍是从小到大排序,但无重复元素。【南京航空航天大学 1996 十一(10分)】 (4)己知两个线性表A ,B均以带头结点的单链表作存储结构,且表中元素按值递增有序排列。设计算 法求出 A与 B的交集C,要求 C另开辟存储空间,要求 C同样以元素值的递增序的单链表形式存贮。 【西北大学 2000 五 ( 8分)】 (5)已知递增有序的单链表 A,B和 C分别存储了一个集合,设计算法实现A:=A∪(B∩C),并使求解结 构 A仍保持递增。要求算法的时间复杂度为O(|A|+|B|+|C|)。其中,|A|为集合A的元素个数。 【合肥工业大学 2000 五、1(8分)】 3. 知L1、L2分别为两循环单链表的头结点指针,m,n分别为L1、L2表中数据结点个数。要求设计一算法, 用最快速度将两表合并成一个带头结点的循环单链表。【东北大学1996 二 (12分)】 类似本题的另外叙述有: (1)试用类 Pascal语言编写过程PROC join(VAR la:link; lb:link) 实现连接线性表 la和 lb(lb在后)的算法,要求其时间复杂度为0(1), 占用辅助空间尽量小。描述所用结构。 【北京工业大学 1997 一、1 (8分)】 (2)设有两个链表,ha为单向链表,hb为单向循环链表。编写算法,将两个链表合并成一个单向链表, 要求算法所需时间与链表长度无关。【南京航空航天大学 1997 四(8分)】 4. 顺序结构线性表LA与LB的结点关键字为整数。LA与LB的元素按非递减有序,线性表空间足够大。试 用类 PASCAL语言给出一种高效算法,将 LB中元素合到 LA中,使新的 LA的元素仍保持非递减有序。高效 指最大限度的避免移动元素。【北京工业大学 1997 一、2 (12分)】 5. 已知不带头结点的线性链表list,链表中结点构造为(data、link),其中data为数据域,link为指 针域。请写一算法,将该链表按结点数据域的值的大小从小到大重新链接。要求链接过程中不得使用除该 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 链表以外的任何链结点空间。【北京航空航天大学 1998 五(15分)】 6. 设 L为单链表的头结点地址,其数据结点的数据都是正整数且无相同的,试设计利用直接插入的原则 把该链表整理成数据递增的有序单链表的算法。【东北大学 1996 六 (14分)】 类似本题的另外叙述有: (1)设一单向链表的头指针为head,链表的记录中包含着整数类型的 key域,试设计算法,将此链表的记 录按照 key递增的次序进行就地排序.【中科院计算所 1999 五、1(10分)】 7. 设 Listhead为一单链表的头指针,单链表的每个结点由一个整数域 DATA和指针域 NEXT组成,整数在 单链表中是无序的。编一 PASCAL过程,将 Listhead链中结点分成一个奇数链和一个偶数链,分别由 P,Q 指向,每个链中的数据按由小到大排列。程序中不得使用 NEW过程申请空间。【山东大学 1993六( 15分)】 类似本题的另外叙述有: (1)设计算法将一个带头结点的单链表 A分解为两个具有相同结构的链表B、C,其中 B表的结点为 A表 中值小于零的结点,而 C表的结点为 A表中值大于零的结点(链表 A的元素类型为整型,要求B、C表利 用 A表的结点)。【北京理工大学 2000 四、2(4分)】 (2) 设L为一单链表的头指针,单链表的每个结点由一个整数域 data和指针域NEXT组成,整数在单链 表中是无序的。设计算法,将链表中结点分成一个奇数链和一个偶数链,分别由P,Q指向,每个链中的 数据按由小到大排列,算法中不得申请新的结点空间。【青岛海洋大学 1999 三(12分)】 (3) 将一个带头结点的单链表 A分解为两个带头结点的单链表 A和B,使得 A表中含有原表中序号为奇数 的元素,而 B表中含有原表中序号为偶数的元素,且保持其相对顺序不变。 1) 写出其类型定义: 2) 写出算法。【山东大学 1998 九 (9分)】 【山东工业大学 2000 九(9分)】 8. 已知线性表(a1 a2 a3 …an)按顺序存于内存,每个元素都是整数,试设计用最少时间把所有值为负 数的元素移到全部正数值元素前边的算法:例:(x,-x,-x,x,x,-x …x)变为(-x,-x,-x…x,x,x)。 【东北大学 1998 二 (15分)】 类似本题的另外叙述有: (1)设有一元素为整数的线性表 L=(a 1,a2,a3,…,an),存放在一维数组A[N]中,设计一个算法,以表中 an作 为参考元素,将该表分为左、右两部分,其中左半部分每个元素小于等于 an,右半部分每个元素都大于 an, an 位于分界位置上(要求结果仍存放在A[N]中)。【北京理工大学 1999 八(6分)】 (2)顺序存储的线性表A,其数据元素为整型,试编写一算法,将A拆成 B和 C两个表,使 A中元素值大于等 于 0的元素放入B,小于 0的放入 C中.. 要求: 1)表 B和 C另外设置存储空间; 2)表B和C不另外设置,而利用A的空间.【山东大学 2001 九、1 (12分)】 (3)知线性表(a1, a2,a3,…,an)按顺序存储,且每个元素都是整数均不相同,设计把所有奇数移到 所有偶数前边的算法。(要求时间最少,辅助空间最少)【东北大学 1997 三 (15分)】 (4) 编写函数将一整数序列中所有负数移到所有正数之前,要求时间复杂度为O(n) 【南京航空航天大学 2001 八(10分)】 (5) 已知一个由 n( 设n=1000)个整数组成的线性表,试设计该线性表的一种存储结构,并用标准 pascal 语言描述算法,实现将 n个元素中所有大于等于 19的整数放在所有小于 19的整数之后。要求算法的时间 复杂度为O(n),空间复杂度O(1)。【西安交通大学 1996 六(11分)】 9. 试编写在带头结点的单链表中删除(一个)最小值结点的(高效)算法。void delete(Linklist &L) 【北京理工大学 2001 九、3 (8分)】 10. 已知非空线性链表由 list指出,链结点的构造为(data,link).请写一算法,将链表中数据域值最 小的那个链结点移到链表的最前面。要求:不得额外申请新的链结点。【北京航空航天大学 2001 四(10 分)】 11. 已知p指向双向循环链表中的一个结点,其结点结构为data、llink、rlink三个域,写出算法change(p), 郴州都市网 www.0735.cc郴州人才网 www.CZHR.com www.989.org 《数据结构 1800题》 交换 p所指向的结点和它的前缀结点的顺序。【首都经贸大学 1997 二、2(15分)】 12. 线性表(a1,a2,a3,…,an)中元素递增有序且按顺序存储于计算机内。要求设计一算法完成: (1) 用最少时间在表中查找数值为 x的元素。 (2) 若找到将其与后继元素位置相交换。 (3) 若找不到将其插入表中并使表中元素仍递增有序。【东北大学 1996 三 ( 12分)】 13. 设单链表的表头指针为h,结点结构由 data和 next两个域构成,其中 data域为字符型。写出算法 dc(h,n),判断该链表的前 n个字符是否中心对称。例如 xyx, xyyx都是中心对称。【首都经贸大学 1998三、 9(15分)】 14. 已知两个单链表 A和B,其头指针分别为 heada和headb,编写一个过程从单链表 A中删除自第 i个元 素起的共 len个元素,然后将单链表 A插入到单链表 B的第 j个元素之前。 【中国矿业大学 2000 三(10分)】 类似本题的另外叙述有: (1)h1、h2为两个链表的表头指针,结点结构为 data和 link两个域组成。写出算法 inde(h1,h2,i,j,l), 将链表 h1从第 i个结点起的 l个结点删除,并插入到 h2表的第 j个结点之前。 【首都经贸大学 1998 三、10(20分)】 15. 设线性表存于A[1..size]的前 num各分量中,且递增有序。请设计一个算法,将 x插入到线性表的适 当位置上,以保持线性表的有序性,并在设计前说明设计思想,最后说明所设计算法的时间复杂度。 【西安电子科技大学 1999计应用 1997 二 (10分)】 类似本题的另外叙述有: (1) 试编制在线性表 L={12,13,21,24,28,30,42,}中插入数据元素 26的程序。(要求该程序用 turboPascal语言编制并能在计算机上运行,结点类型为链式结构)【大连海事大学 1996 二、1 (16分)】 16. 假设一个单循环链表,其结点含有三个域pre、data、link。其中 data为数据域;pre为指针域,它 的值为空指针(NIL);link为指针域,它指向后继结点。请设计算法,将此表改成双向循环链表。 【西安电子科技大学 1999软件 五(10分)】 17. 已知递增有序的单链表A,B分别存储了一个集合,请设计算法以求出两个集合A和B 的差集A-B(即 仅由在 A中出现而不在 B中出现的元素所构成的集合),并以同样的形式存储,同时返回该集合的元素个 数。 【西安电子科技大学 2000计应用1997 二 (10分)】 18. 已知一个单链表中每个结点存放一个整数,并且结点数不少于2,请设计算法以判断该链表中第二项 起的每个元素值是否等于其序号的平方减去其前驱的值,若满足则返回 ture,否则返回 false. 【西安电子科技大学 2000软件1997 二(10分)】 19.两个整数序列 A=a1,a2,a3,…,am
VB编程资源大全(英文源码 网络)
1 , WinLocaleConvert.zip
This program shows the international settings of the country you select such as
Form
at Currency, Date
Form
at, Day Name, Month Name...
2 , netstuff.zip
This program queries the network and shows the Domains/Servers/Workstations structure. It also shows the users of each Server or Workstation and can send messages to the selected PC. This programs works only on a Windows NT 4.0 Machine!
3 , projectgroupx.zip
You may use this code as a learning tool only. The application may not be sold in any shape or
form
. So 下载 the code and get involved with the News Group, help us to help you.
4 , urllink.zip
User control to launch web browser and jump to URL.
5 , vbftp.zip
Sample application that implements FTP connection, 下载, and upload using the WinInet FTP API from Visual Basic
6 , browser.zip
Simple web browser using the Microsoft Internet Control.
7 , ftp.zip
Complete FTP application.
8 , chatclnt.zip
Client side of an internet chat program
9 , chatserv.zip
Server side of an internet chat program
10 , hlink.zip
Is a control that you can use to link your program to a web site.
11 , Popmail.zip
Checks your email!
12 , telnet.zip
Telnet Application
13 , validip.zip
Validate an IP address
14 , dmvbtest.zip
This is a complete email sending client in Visual Basic
15 , CarlosChatApp.zip
This is a program that enables two people to chat across the internet. You must know each others IP address and have an understanding of ports
16 , inteferorprovider.zip
program which communicates with each other and allows one computer to per
form
a task on the other
17 , itimer.zip
Internet Timer. Also calculates the cost of the call. Can AutoDetect Phone call charges from the time and date.
18 , tlsNet.zip
TILISOFT Internet ActiveX Controls - Retrieve HTML pages from the Net - Post data to HTTP server
19 , pingmon.zip
A ping monitor for the network administrator. Based on API code
20 , webbrowser.zip
Easily build your very own custom web browser,using the web browser object
21 , StealthSRC.zip
StealthMail 2.1 - full SOURCECODE for the StealthMail 2.1 program. Uses only VB6 code, and NO API calls!
22 , Worldmeet.zip
This is the source code for a client and server chat program.
23 , RemoteFileExp.zip
This utility allows you to remotely reboot, log-off, 下载 files, delete files,luanch applications, auto navigate a web browser and view desktops via TCP/IP
24 , Lagmeter.zip
This Will Allow You To See A Visual Representation Of The Latency of Your Local Machines IP. A.k.a Lag Meter
25 , mailcheck.zip
Mail Checker Sample Application. C
reat
e your own POP3 client to retrieve e-mails from mail server. Source code + tutorial.
26 , chat.zip
This code shows you how to c
reat
a local network chat room so that you and your friends can have a chat room which nowone else can enter
27 , news.zip
Demonstrates how to downlaod text from a webpage without a browser open. This could be used for what i used it for in the past for a news program
28 , url.zip
Worldwide list of URL extensions by country
29 , EmailChk.zip
This Application checks for unread email using outlook. MS Agent will popup to announce how many unread mails you got. This also checks sub-folders on your inbox. Configuration is added to choose which MS Agent to use and the Time interval use to check for mails
30 , wsc_ftp_client.zip
FTP Client Sample Application. It was built with MS Winsock Control. It is a complete FTP client that allows you to browse FTP directories, 下载 and upload files, resume broken file transfer, c
reat
e and remove directories, delete and rename files. All the operations execute in an asynchronous mode with the progress indication .
31 , MultiServer.zip
This is real simple source code for a Multi-Client server, it allows upto 65535 users to connnect to your server,via winsock control- it can be customised to become any server, such as IRC, FTP. plus all the functions are in their to relay data and store in
form
ation on each users accounts.
32 , GuardDuty.zip
Lets you c
reat
e your very own Cyber Sitter or Net Nanny Type software- it blocks access to sites based on keywords such as "sex","hack" or "security" alternatively whatever you want ! - it's the long awaited project version of previously released WEB ADDRESS SPY!
33 , whisper.zip
Complete LAN chat program
34 , vbtelnetserver.zip
Telnet Server. Allows multiple connections, uses Access DB to store Access Control Lists/Users
35 , CasperEdit.zip
Almost complete HTML editor with many functions. This is only a pre-released version so some stuff doesn't work.
36 , browser0516.zip
Its a fully functional web browser
37 , lovevirusCleaner.zip
With the onslaught of the Love Bug virus in the last 24 hours, many of us had to provide solutions prior to the Virus Protection companies. This VB6 code cleans the ILOVEYOU virus from systems
38 , shras21.zip
Custom Control, that lets you have full control of Dial Up Networking
39 , FullBrowser.zip
: This is A Complete Internet Browser Like IE With More Fuctions Like Bulk mail And Many more. Requires several third-party OCX files including Autocomplete.ocx.
40 , webpagmaker.zip
Web page maker
41 , vs.zip
Viru-Spy. Relays sytem in
form
ation to your email account. Run on someone else machine to retrieve system info,dial up passwords, bookmarked urls etc etc
42 , icqp.zip
Send ICQ messages from VB
43 , DekMate2.0.zip
All new DeskMate2.0 with added new features like email checking, NT messaging system, movie screen, system tray alerts as well as the old features like, Online Weather, News headlines, Online Horoscopes, Movie Reviews etc.
44 , TelDialOut1.zip
TelDialOut is a program that dials a phone number from an application using the modem. I had observed the large number of postings on various forums about this topic so I have included a well documented application to assist those who would be using this feature in their applications
45 , TreeViewXML.zip
G
reat
example program for programmers learning XML. This program shows you how to use the msxml.dll control, as well as the treeview control. Users must have msxml.dll version 2.0 for binary compatibility.
46 , CustEditXML.zip
Complete VB application that retrieves customer in
form
ation from an XML script, allows you to make changes to the data, and saves the record using other XML scripts. This is a g
reat
example for learning MSXML.dll and TransactXML.dll procedures.
47 , email1mapi.zip
Visual Basic code for Sending email using MAPI control.
48 , Dan.zip
Dan's All purpose masterful program
49 , metasite.zip
this vb code executes a request from metacrawler.com and returns all links results in a TreeView.
50 , email.zip
Sending Email using MAPI control.
51 , EmailChecker.zip
Checks your new mails from mutiple mail servers(yeah it works!!!!!). it switches tray icons on different states & displays the number of new messages (as msn messenger display messages) and plays a WAV file
52 , urlhist.zip
This sample demonstrates how to loop through the history folder of Internet Explorer.
53 , AdvancedWebBrowser.zip
Advanced web browser..something like IE but less options really nice interface..code is very easy to understand..teaches you the basics of using vb.
54 , iusage.zip
NO its not another internet usage monitor its different.Apart from calculating the cost and total time you spend on the net it even reminds you to switch of the net after a time interval which you specify.Check out this cool program.
55 , dauntless.zip
This is an exceptionally good piece of code. One program runs on a machine somewhere, and the other on your machine. You can then send commands to the other machine, take screen snapshots and more... It uses the INET control for all functionality, but you could do the same with the Winsock DLL.
56 , netcontrol2.zip
Following on from the original NetControl by Danny, this little ActiveX/OXC project contains some small modifications and the sourcecode for the control. You can send messages with a client/server type setup.
57 , al40.zip
Apparently, if you use AOL to connect to the Internet and you do not touch it for 45 minutes it will timeout and drop the connection. This little program will ensure that it keeps the connection active.
58 , yougotmail.zip
Kenneth has developed this is a g
reat
little application which reads a Microsoft Exchange mailbox and lets you know via playing a .WAV file when you have mail.
59 , netcontrol.zip
This little project is Dannys first attempt at an ActiveX control and its very good. There are two mini projects included here. The first is called SlotDemo and allows you to send messages or data in a client/server type role. Its uses some very clever programming.
60 , cethernetaddress.zip
We found this bit of code somewhere on the Internet a few months ago and tidied it up a bit. I don't know the author's name so cannot give them credit. But basically this sample will return the Ethernet Address of the card in the current machine.
61 , cnetworkinfo.zip
This little demo will return, using Windows API calls, the following: IP Address, Network Username, WorkdstationID, Windows version, build version and service pack info, the windows directory, the PDC name if you are logged onto an NT server and the time
62 , ccheckduncount.zip
If you want to check if there is a RAS/DUN conneciton activ, then this little routine will return true or false depending on whats going on. If RAS isn't installed on the machine, it will crash but otherwise its a g
reat
routine. For more in
form
ation
63,winskip.zip
Using the Winsock Control to get IP In
form
ation
64,opnblank.zip
Open a Blank Browser Window
65,distitl.zip
Display the Title of a Page in a
Form
's Caption Bar
66,disbrows.zip
Disable Input to a WebBrowser Control
67,lbllink.zip
Make a Label Act Like an Internet Link
68,linkcmbo.zip
Link a ComboBox to a WebBrowser Control
69,navbutns.zip
Navigation Buttons
70,status.zip
Show Browser Status
71,iphost.zip
Get Local IP and HostName using WinSock
72,xmldirviewer.zip
This is a sample from an XML implementation I c
reat
ed for my company's Intranet, giving the capability for user maintained content
73,phone.zip
A Cellular Phone Application Uses MSCOMM, Modem and normal telephone lines to make calls.
74,PhoneDial.zip
A Phone Dialing program that play both DTMF Tones and MF Tones using wav files. It does not use A real Phone.
75,dnslookup.zip
Easy DNS Lookup and Reverse Name lookup using qdns.dll (dll vb source is included in zip). For use see included sample ASP page.
76,Mar_05_2001.zip
About myself, i am a computer pro experienced in c
reat
ing dynamic data driven web sites. About the code, it demonstrates the usage of internet transfer control to 下载 the content from the web.
77,InstantMessenger.zip
A basic Instant Messenger.
78,WebCapture.zip
Just mention the site URL and easily Capture the desired Data, Tag's from that Web Site. Also
helps in understanding the use of DoEvents,
Error
traping and many more features.
79,destructureur.zip
this code analyse DOM of a web document(Document Object Model).
Usefull in order to rettrieve all links, images, scripts in
form
ations like url, index, absolute index of all HTML objects.
80,bla.zip
This is an Internet Public Chat Application, which is unique. This is for All. I have seen several Internet Chat systems developed but they were not good enough to encourage the Novice programmers understand the complexities of using the Winsock control. This is the Internet Chat System developed using Winsock Control only and no API calls, or any other DLLs.
81,EmailSystem.zip
In this tutorial of 100+ pages, you can get every thing which is mainly related to build a complete web based email system. this artical will cover everthing of SMTP, POP3, MIME and HTTP.
82,inanny.zip
Inanny is a netnanny like clone,u can use inanny to block sites locally.The new version works with netscape(all versions) as well as ie(all versions).
83,source_build84.zip
IRC Client that supports all basic needs of an IRC Client and a bit more. Uses Raw RTF code, so it's very fast displaying text. Also handles IDENTd properly.
84,Blitz.zip
Blitz Chat System is a complete Chat Server and Client application for internet and intranet users. It has facilities like room selection,
85,QNavigator.zip
Q Navigator Ver 1.1 is an updated
form
of my Web Browser, which has the best features (and more) of all browsers.
86,atomicclock.zip
RJ Soft's AtomicClock (Atomic Clock.Exe) sets your computers Date and Time from an atomic clock via tcp/ip at 12:01 AM every day. Atomic Clock sits in the system tray so you can load it and forget it or click on the icon and tell it to reset the Date and Time.
86,demooutlook.zip
Send Text or HTML Mail(You can join an ONLINE photo). Retrieve all your input box mails and c
reat
e a new folder.
87,weather.zip
This is a grand application allowing you to get 10 day weather forecasts for almost every region of the world. Also gives you weather imagery maps. Must see. Kind of a big 下载, but I wanted to make sure everything was included.
88,下载er2.zip
Website 下载er.Updated with many new features.
89,SurfMonitorCODE2.zip
OK folks.....this is a better version of the SurfMonitor code. Not only does it have the 'Autodetect' feature, it also manages the registry better and c
reat
es log files. The administrator can also apply time and date restrictions on users....
90,ThePorter.zip
This is an anti-hacker tool I've c
reat
ed. It's much like Lockdown 2000. It sits on your system tray listening for incoming connections on various ports.
91,SurfMonitorCODE.zip
Allows an individual to restrict multiple users to access the users only for a certain amount of time. It also has an 'Autodetect' feature to automatically detect an internet connection and disconnect in case
92,下载er.zip
Just enter the URL of a webspage you want to 下载 and all the links in the webpage will be 下载ed including any image files . The program is still in the development stage .
93,bmail.zip
This software for bulk email for personal and corporate use. The enclosed zip conatains all the codes and readme text. This software uses MAPI and CDO for Windows 9x.
94,winsock.zip
Application demonstrates the use of the VB Winsock control and some of its properties.
95,HTMLEd.zip
A simple HTML editor written in Visual Basic.
96,emailnotifier.rar
This is an application that monitors the local host for IP address changes and notifies a list of people by e-mail if the IP address changes. Both the IP address and the e-mail list are stored between sessions
97,pbaspediter.zip
A Full Advanced ASP/Html Editer with Database, Cookies, includes, sounds,
form
s, body, Tables wizards and more. (Wizards do html & responce.write) Color coding html. tag inserts, Plugins, Templates, Java codebase, vbscript codebases, full asp codebase Asp Preview on localhost and normal preview and LOTS MORE MUST SEE
98,Exchange_Viewer.zip
You must have Access 2000 installed in order to print. Other than that you should be fine. This will anonymously query an exchange 5.5 or higher exchange server and retrieve The names and email addresses and place them into an access database. This code has many useful examples.
99,Automatic_Updater.zip
UPDATED 11/10/2000 Now With even more options!! This application allows you to check for an updated version of a file or a program via FTP, then 下载 that update if it is available.
100,PingX.zip
Ping(s) a computer and returns the results.
101,hmupdatedold.zip
HotmailBox - Alternative Hotmail client that accesses your inbox. Includes support for multiple accounts, synchronizes your account, has a built-in address book and support for attachments (with the exception of images, so far).
102,hypermap.zip
Hyper_Map allows you to define areas on a webpage graphic for jumping to different URLs. Image mapping is a neat way to c
reat
e links. Also, the program demonstrates Picture1 draw properties and some HTML c
reat
ion.
103,icqvb.zip
ICQ Control Center, The worlds most complete icq api example freely availble on the net, this revised edition contains protocol in
form
ation sample code and much much more !
104,HTMLMail.zip
This application allows to send HTML mails ! Now you can send images,
form
atted text in your mails, put some really cool effects !
105,NTPSync.zip
Synchronize Your System Time with a Network Time Protocol (NTP) Server.
106,WinsockTrans.zip
This code allows you to transfer files from one pc to another using winsock.
107,Winsock下载.zip
Winsock 下载er - Lets you 下载 any file from the internet (Binary, ASCII, Text) any size.
108,ftp2.zip
An FTP application with complete VB source code included.
109,vb-aim.zip
AOL instant messenger client written in VB.
110,ping2src.zip
Version 2.02 of the popular Idoru Ping Monitor. Includes a Password Hacker, and shows important info on your machine
111,OnYxBrowser.zip
A full avtive browser, with all IE's trimings, i have left out the exe and some of the ocx. but ppl who have vb60 should have these ocx.
112,PostMan.zip
VB application which uses winsock control to send mail to your mail server!
113,transfer.zip
Simple file transfer (FTP) application. Contains both the client and server VB source code .vbp applications. Destination filename is set to "Temp".
114,inter.zip
Detects if the user is connected to the internet.
115,frmClient.zip
Started to program a remote tool FTP program. Give some feedback otherwise i'm going to code it in Delphi.
116,prjClient.zip
Live wire winsock file transfer program which retreives remote drives/directories and working on files and enables upload/下载 of files with progressbar.
117,webbrowser2.zip
I have tried to develop a very good browser. Now I myself can't rate it... so i am leaving to you guys out there to rate it..
118,InternetBrowser.zip
It is an interesting Internet Browser. Add your favorites, URLs, Home Page, and History to Windows 95/98 Registry. Must see.
119,Browser2.zip
[UPDATED]:Complete Internet Browser. Must see.
120,display.zip
This code sample enables users to 下载 and display HTML, RTF, or Text files in a RichTextBox Control, using the Microsoft Internet Transfer Control included in Visual Basic 5.0.
121,easyhttp.zip
Retrieve Web page or file (including all HTTP headers and message body) througn HTTP protocol directly from VB program which utilize the MS WinSock Control.
122,emailcheck.zip
This application checks for incoming mail (POP3 client).
123,NetSend.zip
A Simple Application to Send Messages Without using a COMMAND Prompt.
124,ChatPrg.zip
This application provides seamless interaction between users of an intranet. The database acts as a Server and it has to be loaded on the server of your local intranet and each .exe serves as
a client.
125,Chatty.zip
This is a simple one-to-one chat program using Winsock. It includes a text based chat, a messaging feature and also a secure communication feature, much like SSL. I use the RSA 64 bit encryption for the secure channel.
126,Telephonic.zip
The program can be used in your desktop, as is. You will find dialing much more confortable and fast than the original Windows Dialer.exe.
127,ClientServer.zip
A messages Client / Server application (compile and source code).You can send messages from a client to another and server remote all users activity and distribute the messages to client who request that
128,MESSENGER.zip
E-MAIL PROGRAM. ALLOWS USER TO LOG INTO ISP SERVICE AND SEND MESSAGES AND FILES.
129,ip.zip
Very simple application which shows how to get your PC's IP address using the VB Winsock control.
130,CS_Tools_2.zip
This program can save you days to weeks of work on a huge domain with hundreds to thousands of users with its "Bulk Administration" and remote feature. Features Bulk Administration Allows you to administer the login path, profile path, home directory, and more with one click of a button for all users! Alternate Credentials Allows you to specify a different username and password to complete your tasks.
131,networkinfo.zip
Application which gets all network in
form
ation from the system.
132,gethtml.zip
This example uses the Inet control to 下载 the HTML source from any webpage. This could easily be used in conjunction with the Get Web Links example to make a full fledged web-spider and search engine program...
133,getweblinks.zip
This example uses the WebBrowser control to load a web page then enumerate and display all of the links on that page. This example could be easily expanded to be used as a web-spider with a little bit of effort.
134,bs2vb.zip
This example is a very simple solution to sending and receiving data to and from a Parallax Basic Stamp. This example requires a Basic Stamp and the MSComm control. Also included is an example Basic Stamp II program to work with the example...
135,Chatptop.zip
A Peer-to-Peer chatting program with a very easy user interface.
136,f_160.zip
A basic example on how to transfer files across the network using the WinSock Control(18KB)
137,f_159.zip
A simple example of exchanging data across a network using the WinSock control(4KB)
138,f_115.zip
A simple web browser built using the Web Browser control(2KB)
chrome浏览器中遇到bug【
Error
in event handler: Type
Error
: Cannot read property ‘name‘ of undefined】
报错信息:
Error
in event handler: Type
Error
: Cannot read property 'name' of undefined at f (chrome-extension://ijllcpnolfcooahcekpamkbidhejabll/bundle/contentscripts.js:1:3088) at chrome-extension...
Delphi中基类窗体找不到解决办法
有的时候,我们会碰到一些比较烦人的东西,打开某个继承的窗体,会提示说基类窗体找不到,并且找不开这个窗体,必须先打开基类窗体,然后再打开此窗体,才可以进行设计模式。其实出现这种情况的原因,就是因为工程dpr文件中,没有添加此基类的
Form
文件造成的,多是由于系统移植造成的,你也可以自己来玩一下。 解决办法:可以在View菜单中选择Project Manager或者Ctrl+Alt+F11来查看...
Error
in v-on handler: “Type
Error
: Cannot read property ‘value‘ of undefined“
如果问题还没有解决,你就要先打开el-dialog,让弹出框被初始化,只有el-dialog被初始化了,在Vue的渲染引擎中,你才可以获取到里面的子组件。如果问题还没有解决,就是$refs依旧获取不到值,即取不到el-dialog对话框中的子组件对象,返回的都是undefined。如下,我要做的是打开一个弹框,弹框里面是个
form
表单的table,table里面有个元素是在线编辑代码的,支持代码各语言的高亮显示。在运行Vue项目时出现了上述
错误
,出现该
错误
的原因是其容器还未生成就对其进行了初始化所造成的。
Delphi
5,927
社区成员
262,931
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章