[Prev][Next][Index]

pC++ warning problem



One of our students is getting several of the following warnings
when compiling his pC++ program:

Warning : Only one dimension is accepted for subset operation line 756

I couldn't figure out what that means (even after looking where the message
comes from). Any explanation?

Here is the some info from the program:

class parTorsion {
 public:
  int   type;
  .....
};

parTorsion Data_parTorsion[NUM_ATOM_TYPE][NUM_ATOM_TYPE][NUM_ATOM_TYPE];

756:                 Data_parTorsion[ind1][ind2][ind3].type = type;

Bernd

-- 
Bernd Mohr   --   mohr@cs.uoregon.edu   --  http://www.cs.uoregon.edu/~mohr

Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.          -- Calvin