文件名称:list
介绍说明--下载内容均来自于网络,请自行研究使用
本实训是有关线性表的顺序存储结构的应用,在本实训的实例程序中,通过C语言中提供的数组来存储两个已知的线性表,然后利用数组元素的下标来对线性表进行比较。通过对本实训的学习,可以理解线性表在顺序存储结构下的操作方法。
在实训中,我们设A=(a1,a2,…,an)和B=(b1,b2,…,bm)是两个线性表,其数据元素的类型是整型。若n=m,且ai=bi,则称A=B 若ai=bi,而aj<bj,则称A<B;除此以外,均称A>B。设计一比较大小的程序。
-Training is related to the linear form the structure of the order of storage applications, in this example of practical training program, through the C language to provide an array to store the two known linear form, and then use the array element subscr ipt to comparison of the linear form. Through the Training of the study, the linear form can be understood in the order of the storage structure of the operation. In Training, we set A = (a1, a2, ..., an) and B = (b1, b2, ..., bm) are two linear forms, the data elements of type integer. If n = m, and ai = bi, say A = B if ai = bi, and aj
在实训中,我们设A=(a1,a2,…,an)和B=(b1,b2,…,bm)是两个线性表,其数据元素的类型是整型。若n=m,且ai=bi,则称A=B 若ai=bi,而aj<bj,则称A<B;除此以外,均称A>B。设计一比较大小的程序。
-Training is related to the linear form the structure of the order of storage applications, in this example of practical training program, through the C language to provide an array to store the two known linear form, and then use the array element subscr ipt to comparison of the linear form. Through the Training of the study, the linear form can be understood in the order of the storage structure of the operation. In Training, we set A = (a1, a2, ..., an) and B = (b1, b2, ..., bm) are two linear forms, the data elements of type integer. If n = m, and ai = bi, say A = B if ai = bi, and aj
(系统自动生成,下载前可以参看下载内容)
下载文件列表
list.doc