PDA

View Full Version : Using multidimension arrays?


Aalfabob
01-11-2005, 03:07 PM
I made some code that involves a multi dimension array, and the compiler is coming up with a syntax error.

ATan [32,32];

Are there anyways to fix this so that I can use the array?

Dave Scheck
01-11-2005, 03:15 PM
I made some code that involves a multi dimension array, and the compiler is coming up with a syntax error.

ATan [32,32];

Are there anyways to fix this so that I can use the array?This is incorrect C syntax. You want to write that as follows.ATan[32][32];

More info about arrays can be found by looking here (http://home.twcny.rr.com/amantoan/cweb/dimary.htm).