锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
]]>
floor鏄湴鏉?br>鐢ㄨ礋鏁拌瘯璇曞氨鐭ラ亾浜唦~~
]]>
涓鑸漢閮界敤鐨勬槸澹版槑寮忎簨鍔$殑鏂瑰紡錛屼篃灝辨槸鐢ㄧ殑鏄疶ransactionProxyFactoryBean榪欎釜錛屼絾鏄敤榪欎釜鍚庡畠鍙兘閽堝涓涓猼arget鏉ヨ繘琛?浜嬪姟綆$悊錛?br>鎵浠ユ垜鐢ㄤ簡鑷姩浠g悊鏂瑰紡榪涜浜嬪姟鐨刡ean create銆傚亣濡傛湁澶氫釜鏂規硶鐩歌瘑鐨刴anager鏃跺氨鍙互鐢ㄨ繖涓簡銆?br>
spring閰嶇疆鏂囦歡濡備笅
鏈変笉瀵圭殑鍦版柟锝炴榪庡悇浣嶅ぇ澶ф寚鏁?/p>
//selection sort---------------------------------------------------------------------
void selectionSort(int v[],int len){
int k,j,i;
for (j=0;k=j,j<=len;j++)
{
for (i=j;i<=len;i++)
if(v[k]>v[i])k=i;
if(k!=j)
swap(v[k],v[j]);
}
}
//selection sort---------------------------------------------------------------------
void quickSort(int v[],int low ,int high)
{
int tempPos;
if (low<high)
{
tempPos=partition(v,low,high);
quickSort(v,low,tempPos-1);
quickSort(v,tempPos+1,high);
}
}
void main()
{
int i;
int R[11]={-1,7,12,3,5,8,6,2,9,14,11};
for(i=0;i<=10;i++)
cout << R[i] << endl ;
quickSort(R,1,10);
for(i=0;i<=10;i++)
cout << R[i] << endl ;
}