filling an array with strings
I need to fill an array with a list of strings and am having trouble figuring this out. i want it to look like this
Warrior
Wizard
Archer
Thief
Like so:
1 2 3 4 5 6 7
|
std:string string_array[] =
{
"Warrior",
"Wizard",
"Archer",
"Thief"
};
|
Topic archived. No new replies allowed.