Allocate N elements

Adam D. Ruppe destructionator at gmail.com
Mon Jul 15 05:23:20 PDT 2013


On Monday, 15 July 2013 at 11:46:54 UTC, Namespace wrote:
> int[] arr = new int[sizeOfItems];

Did you also try int[] arr = new int[](sizeOfItems)?


More information about the Digitalmars-d-learn mailing list