xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡介

冒泡排序的動態顯示過程,C語言實現

資源截圖

代碼片段和文件信息

#include
#include
#include
#include
#include
#define?timespan?500


int?main()
{

two:;
BubbleSort();
rewind(stdin);
getchar();
goto?two;
return?0;
}
int?swap(int?*xint?*y)
{
int?temp;
if?(*x?>?*y)?{?temp?=?*x?*x?=?*y?*y?=?temp;?}
return?0;
}

int?Gotoxy(int?x?int?y)
{
HANDLE?handle;
COORD?coord;
coord.X?=?x;
coord.Y?=?y;
handle?=?GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(handle?coord);
}

void?clr_row(int?xint?y)
{
for?(int?i?=?0;?i? {
printf(“?“);
}
Gotoxy(x?y);
}
void?currentpic(int?index)
{
Gotoxy(0index);
printf(“\16“);
Sleep(timespan);
}
void?clr_currentpic(int?index)
{
Gotoxy(0?index);
printf(“?“);
}
void?putpic(int?s

評論

共有 條評論