daviddoria
334
Posting Virtuoso
Featured Poster
Recommended Answers
Jump to PostWell, since arrays deteriorate into pointers to the first element, you could go with:
map<unsigned char*, int> ColorList;
If you use this code though, the map will end up containing invalid pointers unless the lifetime of of the array(s) and the lifetime of the map are the …
All 4 Replies
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
daviddoria
334
Posting Virtuoso
Featured Poster
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
daviddoria
334
Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.