Simple array init question

Paul Findlay r.lph50+d at gmail.com
Sat Apr 7 01:37:04 PDT 2007


> It compiles, but if I enter:
>    int[5][5] buffer;
>    buffer[][] = 5;

Have you tried:

int[5][5] buffer;
buffer[] = [5,5,5,5,5]; // or something

(Or try in the digitalmars.D.learn newgroup)

 - Paul



More information about the Digitalmars-d mailing list