Merge pull request '交换两个长整型数据' (#5) from XZL_交换两个长整型数据 into master

XZG_按选择法将将数组num的元素值从低到高排序
pvfj5ugro 2 years ago
commit 54d589004e

@ -220,7 +220,10 @@ void SwapFloat(float *x,float *y)
``` ```
void SwapLong(long *x,long *y) void SwapLong(long *x,long *y)
{ {
long temp;
temp = *x;
*x = *y;
*y = temp;
} }
``` ```

Loading…
Cancel
Save