int main()
{
    SqList L;
    Creat_list(L);
    InsertSort(L);
    return 0;
}
示例#2
0
int main(){

	LinkList L = Creat_list();

	printf("Input the date(end with -1):\n");
	Insert_list(L);
	printf("The original data structure:");
	Traver_list(L);

	printf("The data in order:");
	Sort_list(L);
	Traver_list(L);

	Delet_list(L,2);
	printf("After deleting:");
	Traver_list(L);
	
	return 1;
}