Help with maps
I was wondering if it is possible to put a string the a user has entered and store it in a map. Examples would be appreciated as well. Thanks
map<string, string> MyTable;
string MyString;
cin>> MyString;
MyTable["Key"] = MyString;
Topic archived. No new replies allowed.