Re: Sorting


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Daniel Longest on March 16, 2001 at 23:50:25:

In Reply to: Sorting posted by Joseph Davidson on March 16, 2001 at 19:03:35:

The spec says that the database is to be kept in sorted ascending order. Books will be kept in order based on ISBN, authors based on author ID number.

Daniel

: The spec does not say anything specific to how books and authors are added to the array. Would it be sufficient to add the respective items to the end of the array, or do we need to sort the array. Unless I am missing something, the spec doesn't say anything about sorting, it only mentions that the array template should assume there are overloaded equality (==) and less than (<) operators.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]