alberto@grasp.cis.upenn.edu (Alberto Izaguirre) (03/16/91)
I have two straightforward questions. The first one is : 1- Do anyone has a class (whatever name) that allows to declare multidimensional arrays, where the index for each dimension is of a particular (possibly different) type. Eg. something like: double a[int 5][double 6][enum c]; that allows to initialize a matrix a , where the first index is an integer in the range 1-5 (int) , the second index is in the range 0-6 (double), and the third in the range of the (enum c). may be the indexes have to be of types that can be enumerated... The operations could be : a[2][3.0][c1] = 3.0; b = a[4][3.0][c2]; I have only made this example for onne index. I think that to do in a number of indexes that is bigger than 1 (annd that can be arbitrary) looks pretty difficult... May be there is not such a solution... If someone finds one, can you mail me yours. Tx, Alberto 2- The second question is easier. Is the latest version of g++ (i.e. I think g++-39) compatible with version 2.0 of AT&T? If nnot , do you know the main differences,. Tx again...