Article View: comp.std.c++
Article #1228Help needed in TEMPLATES ???
From: S. R. Viswanathan
Date: Sun, 13 Dec 1992 21:04
Date: Sun, 13 Dec 1992 21:04
43 lines
2373 bytes
2373 bytes
Hi,
Can someone help me with this problem in Borland C++ 3.0 ?
I'm using the BI_QueusAsDoubleList template and it's iterator template
BI_QueueAsDoubleListIterator....I want to be able to do a non-destructive
iteration of the list and then do a selective deletion.
[I'm able to insert items into the list using the "put()" function...
but not able to delete items...I can only do a destructive iteration using
the "get()" function...which also removes the item from the list.]
If it's not possible using this particular ADT template class...Can you
suggest any other template which will achieve this functionality ?
Any useful pointers and suggestions are most welcome...Please reply
to me directly..Thanx...
- Vishy
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
Internet: <^> Yellnet:
srvishy@picasso.ocis.temple.edu <^> (215) 787-1043 (Work)
srviswa@astro.ocis.temple.edu <^> (215) 735-3563 (Home)
'T`(`'T`|_||) ^ 'T` / | | | `T` n the beginning Man created God;
(| (, | | ||\(_) | (__| |_ |_ | and in the image of Man
,|, created he him.
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
Internet: <^> Yellnet:
srvishy@picasso.ocis.temple.edu <^> (215) 787-1043 (Work)
srviswa@astro.ocis.temple.edu <^> (215) 735-3563 (Home)
'T`(`'T`|_||) ^ 'T` / | | | `T` n the beginning Man created God;
(| (, | | ||\(_) | (__| |_ |_ | and in the image of Man
,|, created he him.
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
Technical Details
Message-ID:
<1992Dec13.210406.23669@cronkite.ocis.temple.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!think.com!ames!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!netnews.upenn.edu!cronkite.ocis.temple.edu!picasso.ocis.temple.edu!srvishyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!think.com!ames!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!netnews.upenn.edu!cronkite.ocis.temple.edu!picasso.ocis.temple.edu!srvishy From: srvishy@picasso.ocis.temple.edu (S. R. Viswanathan) Newsgroups: comp.std.c++ Subject: Help needed in TEMPLATES ??? Message-ID: <1992Dec13.210406.23669@cronkite.ocis.temple.edu> Date: 13 Dec 92 21:04:06 GMT Sender: news@cronkite.ocis.temple.edu (NetWork News (readnews)) Organization: Temple University Lines: 43 X-Newsreader: Tin 1.1 PL5