|
-
March 3rd, 2006, 04:31 PM
#1
List size
Hi,
What would be the best way to keep a list size from being no greater than a specified amount.
For example, if I update my list and the list size goes over a limit a node is deleted from the end of the list.
Would it be better implementing a circular list or a doubly linked list?
I have tried to implement the latter but can't work out how to keep track of the tail.
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|