Associate
- Joined
- 6 Nov 2006
- Posts
- 722
- Location
- Devon
I'm trying to work out which data structure is best/most efficient for my application. I want to be able to store a list of names and their positions which the corresponding position in another array and be able to look up the position using the name.
In perl I'd use a hash but I'm not sure if there is a better way to do it, and if there's a corresponding structure in C++
In perl I'd use a hash but I'm not sure if there is a better way to do it, and if there's a corresponding structure in C++