Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3283
| From | Rui Maciel <rui.maciel@gmail.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: iterate and delete |
| Date | 2013-05-07 09:39 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <kmaedi$ag$1@dont-email.me> (permalink) |
| References | <c517efb1-d019-439e-ad85-086a999d5ff4@googlegroups.com> |
bob wrote: > Does computer science in general ever address the issue of when you are > iterating over a collection and deleting elements from it? If you are > just using a counter, this can be tricky as the deletions can mess up the > indices. It isn't rocket surgery. http://en.wikipedia.org/wiki/Iterator Rui Maciel
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
iterate and delete bob <bob@coolfone.comze.com> - 2013-05-06 11:13 -0700
Re: iterate and delete JJ <duh@nah.meh> - 2013-05-07 03:35 +0700
Re: iterate and delete Rui Maciel <rui.maciel@gmail.com> - 2013-05-07 09:39 +0100
Re: iterate and delete bob <bob@coolfone.comze.com> - 2013-05-08 07:54 -0700
Re: iterate and delete malcolm.mclean5@btinternet.com - 2013-05-09 07:58 -0700
Re: iterate and delete "BartC" <bc@freeuk.com> - 2013-05-09 22:53 +0100
csiph-web