Re: [Vala] Multidimensional arrays



Hello,

But how do I create arrays with different row sizes?

Like:

''
double[][] scores = new double[2][];
scores[0] = new double[3];
scores[1] = new double[2];
''

2009/7/6 Matías De la Puente <mfpuente ar gmail com>:
Hello

Multidimensional arrays are created like in C#:

double[,] arr = new double[3,2];


Matias




-- 
http://oproj.tuxfamily.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]