D - more or less power than C++?

Walter Bright newshound at digitalmars.com
Sat Mar 4 13:23:28 PST 2006


"Kevin Bealer" <Kevin_member at pathlink.com> wrote in message 
news:ducrhk$6j3$1 at digitaldaemon.com...
> foreach(char[] k, foo v; x) {
> // print all elements in order
> }

The wc example shows how to print the elements of an associative array in 
order. 





More information about the Digitalmars-d mailing list