當前位置:編程學習大全網 - 電腦編程 - top853編程器能燒錄palce16v8h嗎

top853編程器能燒錄palce16v8h嗎

voidinsertion_sort(intarray[],intfirst,intlast)

{

inti,j;

inttemp;

for(i=first+1;i<last;i++)

{

temp=array[i];

j=i-1;

//與已排序的數逐壹比較,大於temp時,該數移後

while((j>=0)&&(array[j]>temp))

{

array[j+1]=array[j];

j--;

}

//存在大於temp的數

if(j!=i-1)

{array[j+1]=temp;}

}

}

  • 上一篇:每天15個芝麻粒的教程是怎麽樣的?
  • 下一篇:編程用壹個函數實現兩個序列的L點圓卷積cir_covn(x,h,L)
  • copyright 2024編程學習大全網