--- In [email protected], "John Matthews" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], Jefferson Mendoza > <jefferson_mendoza@> wrote: > > > > C or C++? In C, a structure to hold records: > > > > typedef struct > > { > > int lat; > > int logAm; > > double logBmAm; > > } AzRec_t; > > > > > > static const AzRec_t azData[] = > > { > > {0, 727, 0.002949}, <==== there's an error here sir, declaration > > {1, 726, 0.002949}, incorrectly.. what wll i do?? > > This compiles ok for me (5 values only):
Sorry- I sent my last post before I saw your code; thanks for posting it. Does my code help? If not, please could you explain how you want to use the lookup table. Also, there are some improvements that could be made to improve your code. Do you know about functions in C? They could be used to simplify the code and reduce its size. John
