Multi-dimensional arrays [SOLVED]

I know that in C++, arrays can be two dimensional. I was just wondering if that is possible on an Uno R3 with IDE 1.6.4, and if so, what the syntax is.

bbrk24:
I know that in C++, arrays can be two dimensional. I was just wondering if that is possible on an Uno R3 with IDE 1.6.4, and if so, what the syntax is.

int myArray[2][3] = { 
  { 1,2,3},
  { 4,5,6}
};

The syntax is exactly the same. How convenient. Thanks!

bbrk24:
The syntax is exactly the same. How convenient. Thanks!

That will be because the Arduino is programmed in C++

UKHeliBob:
That will be because the Arduino is programmed in C++

The following lines, in their respective languages, do the same thing:

Serial.println("Hello!"); // Arduino
System.out.println("Hello!"); // Java
std::cout << "Hello!" << std::endl; // C++

int x = random(1, 7); // Arduino
int x = Math.rand() * 6 + 1; // Java
int x = random() % 6 + 1; // C++

So yes, while Arduino is mostly based on C++, I knew that there are differences. I just didn’t know about whether this was one.

bbrk24:
So yes, while Arduino is mostly based on C++, I knew that there are differences. I just didn't know about whether this was one.

Arduino is not "based on" anything. It IS pure, by-the-book, standard c++.

Regards,
Ray L.