提交 382b2ba3 创建 作者: 宋海霞's avatar 宋海霞

modify

上级 8374c12f
......@@ -8,33 +8,22 @@
#include <stdio.h>
//
// Other header files are included here
//
//
// Define the data structure here
//
//
// Declare the function here
//
void BubbleSort(int* list, int length);
//
// Declare global variables here
//
#endif /* BUBBLESORT_H_ */
#include "BubbleSort.h"
int main(int argc, char* argv[])
{
int i;
......@@ -19,8 +18,10 @@ int main(int argc, char* argv[])
//
// Output the sorted result
//
for(i=0; i<length; i++)
for (i=0; i<length; i++)
{
printf("%d ", list[i]);
}
return 0;
}
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论