   Array prob, what the?
  Okay I am making a 2D array, well a couple and a 3D one. I have compared it to the others I have made and it looks fine but I keep getting the error Too Many Initializers and  Missing Subscriptheres some of my code#includeint CHand();int PHand[][][] = {{{1,2},{1,3}},{{1,12},{1,10}}};int THand[][] = {{1,3},{1,6},{1,7},{1,9},{1,3}};int Players = 2;int value[] = {0,0};int thing = 0;void main() {value[thing] = CHand();}int CHand() {int ACard[][] = {{THand[0][0],THand[0][1]},{THand[1][0],THand[1][1]},{THand[2][0],THand[2][1]},{THand[3][0],THand[3][1]},{THand[4][0],THand[4][1]},{PHand[thing][0][0],PHand[thing][0][1]},{PHand[thing][1][0],PHand[thing][1][1]}};int UCard[][] = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}};it doesn''t like any of those arrays. They all give me errors, and they are all the same errors for each one. anyone know? 
  You haven''t explicitly told the compiler the amount of memory to reserve for these arrays.int PHand[2][2][2] = {{{{1,2},{1,3}},{{1,12},{1,10}}}};orint PHand[][2][2] = {{{{1,2},{1,3}},{{1,12},{1,10}}}};I''m sure you get the idea. ;  thats what I ended up doing, but I know for a fact that it works without that. I have done that many times and even my teacher says it SHOULD work. But eh, it doesn''t and for some reason it wants the numbers (and yes I have examples of two dimensional and one dimensional arrays without those numbers) ;  Your teacher is wrong. C allows only the first dimension to be undefined in an array:int digitd[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 };   // validint coords[][3] = { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} };  // validint error[][] = { {9, 8, 7}, {2, 1, 3}, {6, 4, 5} };    // error!  Enjoy! 