what do you think is an efficient way of implementing a lookup table in c++

i'd use a vector or some other safe container, except calling push_back 400 times seems ridiculous.....

and i've currently got it as a cstyle array, but that is giving me weirrrrrrrrd results....

Qt Code:
  1. class LookupTable: public QWidget
  2. {
  3. public:
  4. LookupTable();
  5. int lookupElectrodeNumber(int i);
  6. private:
  7. int base_filter[21][13];
  8. int id_filter[13][21];
  9. int number_to_filter [100];
  10. };
  11. #endif//LOOKUP_TABLE_
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. LookupTable::LookupTable()
  2. {
  3.  
  4. int::number_to_filter[] = { blah blah blah....a heck of a lot of numbers};
  5.  
  6. }
  7.  
  8. int LookupTable::lookupElectrodeNumber(int i)
  9. {
  10. return number_to_filter[i];
  11. }
To copy to clipboard, switch view to plain text mode 

seems simple....but gives wacky stuff....