有序數組的插入

  1 bool Insert( List L, ElementType X ) 2 { 3 int i = 0; 4 if(L->Last == MAXSIZE-1) //元素已滿,無法插入 5 return false; 6 7 for(; i <= L->Last; ++i) 8 { 9 if(
相關文章
相關標籤/搜索