Notes IV
Jarrett Billingsley
kb3ctd2 at yahoo.com
Thu Jan 24 11:49:06 PST 2008
"Janice Caron" <caron800 at googlemail.com> wrote in message
news:mailman.18.1201188331.5260.digitalmars-d at puremagic.com...
> On Jan 24, 2008 1:52 PM, Jarrett Billingsley <kb3ctd2 at yahoo.com> wrote:
>> The problem with the fixed size stuff is, well,
>> for example:
>>
>> for(uint i = 0; i < array.length; i++)
>
> Not a problem for D!
>
> foreach(element;array)
You apparently didn't read the rest of my post.
"So we have foreach loops, but they can't necessarily be used in all
circumstances. If we have a case where we _have_ to use a C-style loop,
we're stuck using the ugly, hard-to-type, badly-named "size_t" instead."
More information about the Digitalmars-d
mailing list