int Delete(SqList *pList,int i,ElemType *pElem)
{
if(i<1 || i>pList->nLength)
return -1;
*pElem = pList->Elements[i-1];
for(int j=i-1;j<pList->nLength-1;j++)
{
pList->Elements[j] = pList->Elements[j+1];
}
pList->nLength--;
return 1;
}
前面不是问过了吗?