Re: "look up" table
From: Mike Wahler (mkwahler_at_mkwahler.net)
Date: 11/01/04
- Next message: Thomas Matthews: "[C++] Rewinding an isteam and GNU G++"
- Previous message: Alwyn: "Re: "look up" table"
- In reply to: MJH: ""look up" table"
- Next in thread: AngleWyrm: "Re: "look up" table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 01 Nov 2004 00:56:08 GMT
"MJH" <mhodkin@comcast.net> wrote in message
news:bZ6dnfNR89rn4BjcRVn-3A@comcast.com...
> What is the best way to implement a "look-up" table in C/C++ code? That
is,
> I have a header column of values, and a header row of values, and the
> intersection of a value in the header row and a value in the header column
> determines a data value , e.g. like a spread***. I can't use an
equation
> to relate these because there is no mathematical relation between them.
Check out std::map
-Mike
- Next message: Thomas Matthews: "[C++] Rewinding an isteam and GNU G++"
- Previous message: Alwyn: "Re: "look up" table"
- In reply to: MJH: ""look up" table"
- Next in thread: AngleWyrm: "Re: "look up" table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]