> For such a simple array it is best to use > > data = new double[n*m] > > and have access functions: > > double Entry(unsigned int i,unsigned int j) const { return > data[(i-1)*n+j-1]; } > double& Entry(unsigned int i,unsigned int j) { return data[(i-1)*n+j-1]; }
Yes, this may come at some time. I am debuggin the additions to the Table class. All I want right now is how do I allocate storage for a 2 dimensional array of doubles, so that I can use the standard accessor operators: myDouble = Data[n][m]; ?? Jon _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel