void f(int n)(....) { immutable float[n] my_array; for(int i=0;i<n;++i) my_array[n]=some calculations(based on constants and n)
... } What is the better way to achieve this? Thanks in advance.
Miguel L via Digitalmars-d-learn Tue, 18 Jul 2017 00:26:41 -0700
void f(int n)(....) { immutable float[n] my_array; for(int i=0;i<n;++i) my_array[n]=some calculations(based on constants and n)
... } What is the better way to achieve this? Thanks in advance.