摘要
从DBF文件结构及实际需要出发,设计了一特殊形状的链表结构和相应的操作算法。该链表由一条主链和多条支链组成,支链的条数等于记录数,支链的节点数等于字段数,支链节点保存各字段原始二进制数据,主链节点保存各支链的首地址,这样就构成了一个二维表结构,巧妙地解决了DBF文件字段数、记录数和字段类型不确定的问题,从而很方便快捷地实现了对DBF文件的各种操作。
According to the structure of DBF file,a special type of link list and related operation algorithm are put forward.This type of link list is composed of a main chain and several branch chains,which form a two-dimension table structure,and can smartly eliminate the difficulty that field number,field type and record number are not uncertain.Compared with other ways,this procedure is much quicker and more efficient.
出处
《计算机与现代化》
2004年第12期104-105,109,共3页
Computer and Modernization