[QUOTE]我就碰到了,L.length这种调用方式[/QUOTE]
是链表的插入语句,程序中就用l.length调用的,是吗?
# define ListSize   100
      typedef  int  DataType;
      typedef  struc{
               DataType  data[ListSize];
                int   length;
           } Sqlist;
Void InsertList(Sqlist*L,DataType x,int I)
 {    int j;
     if(I<1 || I>l.length+1)
            printf(“Position error”);
            return ERROR;
if(l.length>=ListSize)
      printf(“overflow”);
      exit(overflow);
    for(j=l.length-1;j>=I-1;j--)
         l.data[j+1]=l.data[j];
     l.data[I-1]=x;
     l.length++;