Log in

View Full Version : Using multidimension arrays?


Aalfabob
11-01-2005, 15:07
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
11-01-2005, 15:15
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).