As the two previous posters have pointed out, there is not enough context to accurately answer your question.
Are you doing a cin of option? If so, then make option an int and it will work as a subscript.
If you're expecting the user to enter a word or phrase, then Gando's suggestion of a std::map is appropriate.
If your intent is something else, please post your code so we can understand the context.
you can convert a string to an integer with std::stoi(stringvar)
so it would just be
SquareMarked[std::stoi(option)] //warning, if option is not valid number in the range of the array's size, this may blow up on you
this is woefully inefficient. you would be better off to store option as an integer, if at all possible, esp if this is done in some sort of loop or could become a bottleneck.