Thread
:
1 class, 1 problem = 1 big headache
View Single Post
May 24th, 2006, 12:12 AM
#
7
titaniumdecoy
Expert Programmer
Join Date: Nov 2005
Posts: 904
Rep Power:
3
SmallBox smBox[][] = new SmallBox[xMax][yMax]; will create an array of null values of the specified dimensons. You have to initialize each index individually, eg, smBox[0][0] = new SmallBox();.
titaniumdecoy
View Public Profile
Visit titaniumdecoy's homepage!
Find More Posts by titaniumdecoy