Is there a better way to allocate storage for an array than this:
double** Allocate(void)
{
Data = new double*[nRows+1];
for (int r=0; r<=nRows; r++) {
Data[r] = new double[nCols+1];
for (int c=0; c<=nCols; c++) {
Data[r][c] = 0.0;
}
}
return Data;
}
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
