int s[50]={xxx,xxx,xxx,......,xxx}int n;//要删除第n个元素,比如n=23int i;for(i=n;i<50;i++){ s[i-1]=s[i];}s[49]=0;