文件名称:three
-
所属分类:
- 标签属性:
- 上传时间:2014-12-08
-
文件大小:5.49kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
全盘搜索程序
本程序要用到的 DOS 中断很少,仅为 4EH 和 4FH,功能是查找第一个匹配文件名和继续查找,编程难点是要用到类似于堆栈的数据结构,把找到的子目录名暂时存起来,等当前目录找完后在取出来,然后继续查找下一个目录,我用的方法是开一个缓冲区,定义一个指针,用来指向缓冲区结束的地方。用的是先进先出方式,为了节省空间,每个目录项长度不等长,由每项的前 2 个字节来指向前面一条目录项。
-Comprehensive search program to use this program to the DOS interrupt rarely, only 4EH and 4FH, function is to find the first matching file name and continue to find, programming difficulty is to use a stack data structure similar to a subdirectory found were temporarily kept up, such as the current directory to find after removing it, and then continue to look for a directory, I used method is to open a buffer zone, to define a pointer to the end of the buffer areas. Using a FIFO manner, in order to save space, each directory entry unequal length, the former two bytes to each point in front of a directory entry.
本程序要用到的 DOS 中断很少,仅为 4EH 和 4FH,功能是查找第一个匹配文件名和继续查找,编程难点是要用到类似于堆栈的数据结构,把找到的子目录名暂时存起来,等当前目录找完后在取出来,然后继续查找下一个目录,我用的方法是开一个缓冲区,定义一个指针,用来指向缓冲区结束的地方。用的是先进先出方式,为了节省空间,每个目录项长度不等长,由每项的前 2 个字节来指向前面一条目录项。
-Comprehensive search program to use this program to the DOS interrupt rarely, only 4EH and 4FH, function is to find the first matching file name and continue to find, programming difficulty is to use a stack data structure similar to a subdirectory found were temporarily kept up, such as the current directory to find after removing it, and then continue to look for a directory, I used method is to open a buffer zone, to define a pointer to the end of the buffer areas. Using a FIFO manner, in order to save space, each directory entry unequal length, the former two bytes to each point in front of a directory entry.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
three (2).txt
three.asm
three.asm
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.