There's no point in having a dimenstion that is 1 in size. What use is there to have an array that contains one element? However, if you want to know how to initialize, at creation time, a three dimensional array...
[edit]Curses, foiled again! That's it, next time, no color for you![/edit]Code:int array[2][2][2] =
{
{ { 1, 2 }, /* 0 */ { 3, 4 } /* 1 */ }, /* 0 */
{ { 5, 6 }, /* 0 */ { 7, 8 } /* 1 */ } /* 1 */
};
Quzah.