From: Bulat Ziganshin Date: 2002-10-04T14:27:37+09:00 Subject: Re: Can soneone tell me what I'm doing wrong... Hello William, Thursday, October 03, 2002, 5:25:42 PM, you wrote: in ruby books there is the same examples. may be difference is that the ruby programmers may not read this examples in order to start using iterators :) WDT> Both Java and C++ have iterators, but usually in C++ books the iterators WDT> are accompanied by examples on how to write them in C, and therefore it is WDT> crystal clear there the issues that may surface. >> MG> Well, that's simple enough. I was expecting something more esoteric. So >> MG> does this mean that at the implementation level there's really no >> MG> difference between >> MG> stuff.each >> MG> and >> MG> for (int i = 0; i < stuff.length(); i++) { -- Best regards, Bulat mailto:bulatz@integ.ru