home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1770 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  2.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!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
  2. From: srvishy@picasso.ocis.temple.edu (S. R. Viswanathan)
  3. Newsgroups: comp.std.c++
  4. Subject: Help needed in TEMPLATES ???
  5. Message-ID: <1992Dec13.210327.23611@cronkite.ocis.temple.edu>
  6. Date: 13 Dec 92 21:03:27 GMT
  7. Sender: news@cronkite.ocis.temple.edu (NetWork News (readnews))
  8. Organization: Temple University
  9. Lines: 43
  10. X-Newsreader: Tin 1.1 PL5
  11.  
  12.  
  13. Hi,
  14.  
  15. Can someone help me with this problem in Borland C++ 3.0 ?
  16.  
  17. I'm using the BI_QueusAsDoubleList template and it's iterator template
  18. BI_QueueAsDoubleListIterator....I want to be able to do a non-destructive
  19. iteration of the list and then do a selective deletion.
  20.  
  21. [I'm able to insert items into the list using the "put()" function...
  22. but not able to delete items...I can only do a destructive iteration using 
  23. the "get()" function...which also removes the item from the list.]
  24.  
  25. If it's not possible using this particular ADT template class...Can you
  26. suggest any other template which will achieve this functionality ?
  27.  
  28. Any useful pointers and suggestions are most welcome...Please reply
  29. to me directly if possible..Thanx...
  30.  
  31.  
  32. - Vishy
  33.  
  34.  
  35. <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  36.   Internet:                    <^>     Yellnet:  
  37.      srvishy@picasso.ocis.temple.edu   <^>          (215) 787-1043 (Work)
  38.      srviswa@astro.ocis.temple.edu     <^>          (215) 735-3563 (Home) 
  39.  
  40.   'T`(`'T`|_||) ^   'T` / | |  |       `T` n the beginning Man created God;
  41.   (| (, | | ||\(_)   | (__| |_ |_       |  and in the image of Man
  42.                        ,|, created he him.
  43. <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  44.  
  45. --
  46. <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  47.   Internet:                    <^>     Yellnet:  
  48.      srvishy@picasso.ocis.temple.edu   <^>          (215) 787-1043 (Work)
  49.      srviswa@astro.ocis.temple.edu     <^>          (215) 735-3563 (Home) 
  50.  
  51.   'T`(`'T`|_||) ^   'T` / | |  |       `T` n the beginning Man created God;
  52.   (| (, | | ||\(_)   | (__| |_ |_       |  and in the image of Man
  53.                        ,|, created he him.
  54. <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  55.