Q:

Create a enum/structure of strings in c++

Good afternoon,
I am looking for a way to instantiate and define a bunch of different string variables in c++ and to group them into a data structure, much like an enum data type, but with strings.
Is there a good way to do this in C++, I am not looking to create an array of strings, instead I want each to have an individual name, as well as a parent data structure.
This is what I am trying to accomplish
somestructuretype MyData {
    string alpha = "this is string A";
    string bravo = "this is string B";
    string charlie = "this is string C";
};

So that I can call these strings somewhat like this:   
string temp = MyData.alpha;  
I know this is possible in c#, is this possible in C++
Thanks,
-D

A:

I believe what your looking for is a way to organize a group of related strings. Instead of looking for data structures, you could consider using a namespace.
Example:
namespace MyData {
    static const string alpha = "this is string A";
    static const string bravo = "this is string B";
    static const string charlie = "this is string C";
};

You would access it like:
string temp = MyData::alpha;

