i suggest you can use hashtable
page number be the key, and an value object with timestamp, date, ID
BTW do you need sorting with the page number?
if so, other data type should be used
From Timothy
"timothy ma and constance lee" <ti******@shaw.ca> ¦b¶l¥ó
news:sSAJd.171934$6l.105137@pd7tw2no ¤¤¼¶¼g...
Sir
I face the problem to select the approprate data structure
I need to store a page number with the corresponding pointers which are
objects like timestamp, date and ID. Based on the ID, i can determine to
do comparison for delete/override the pointers with the current page number.
Can I use vector for simple or collection?
Thanks a lot
~ ªÑ²¼»ù®æ¦³¤É¦³¶^, ¶R½æ*n¯à©Ó¾á*·ÀI ~
~ Samba, more than a low cost File and Printer server ~
-- Let us OpenSource --