Re: [Vala] Multidimensional arrays
- From: Lucas Hermann Negri <kkndrox gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Multidimensional arrays
- Date: Mon, 6 Jul 2009 13:34:55 -0300
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]