How to build up a lookup table in microcontroller?
Posted
by GiGi
on Stack Overflow
See other posts from Stack Overflow
or by GiGi
Published on 2010-02-23T01:47:22Z
Indexed on
2010/05/14
14:04 UTC
Read the original article
Hit count: 225
Hi, I am so confused about how to build up a 3-dimension lookup table. Is the template as follows: create a 3 dimensional array to store data. Then create linked list. Then create function 'insert' to put all the data into the array? As some book said, linked list should be static const, is it need to create another function to expand the list? Because the lookup table should be used in a microcontroller, it only needs to finish the operation of putting the data into the array and whenever want to find the data, it will be fast and easy to search. Could you help me with that and give me some suggestions? Thank you.
© Stack Overflow or respective owner