How do I declare array of array but with different size?

Pages: 12
Probably -- but I couldn't give you a clear answer without putting in more effort than is required for a forum post.

One final suggestion.

If the table is as big as you say, I would consider using code generation to create the required C++. You can create a csv file (or similar text format) with a text editor, Excel, etc. And then write a little utility which reads the file and writes out the required C++ code.

Either that, or read the table from the file at start-up and create the lookup table dynamically.

Andy
Last edited on
Topic archived. No new replies allowed.
Pages: 12