pull/1/head
yangtengze 2 years ago
parent 6d60f26247
commit 8357eb0c59

@ -222,7 +222,7 @@ void DoSortBook()
for (int j=books.length;j>0;j--)
{
if (books.elem[i].id>books.elem[j].id) {
auto temp=books.elem[i];books.elem[i]=books.elem[j];books.elem[j]=temp;}
Book temp=books.elem[i];books.elem[i]=books.elem[j];books.elem[j]=temp;}
}
}
cout << "*****************************" <<endl;

Loading…
Cancel
Save