Array declaration warning

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 2 09:23:30 PDT 2015


On Tuesday, 2 June 2015 at 16:17:23 UTC, Paul wrote:
> CoOrd[NumPaths][] pathList;

Try CoOrd[][NumPaths].

The order is opposite in D style than in C style (I thnk the D 
style makes more sense, it just reads one direction, but it does 
index differently than you're used to in C)


More information about the Digitalmars-d-learn mailing list