Mapping strings to things makes sense. You take a meaningful string and you assign it a value. As with most things we do in programming there are many pitfalls to approaching a problem. So, lets explore some of them! What Exactly Is Your Problem? Here’s a situation we’ve all run into at some point. Say you’re reading records from a database and it has a column called “Type”. Lets say for some reas
![Mapping Strings in C++](https://cdn-ak-scissors.b.st-hatena.com/image/square/20d3a7218a8f5dad5b3fcda2e8034e48c65ac678/height=288;version=1;width=512/https%3A%2F%2Fcdacamar.github.io%2Fimages%2Flogo-og.png)