I was wondering if you guys might help me figure out how to make a vector of vectors like so,
The user will name the set say 'A'. And then using 'A' as a key you can then find the set name and add say 'a', 'b' to it. How can I do this with a vector of vectors? Ive tried things like this:
vector< vector<char> > set;
vector<char> elements;
char input = 'A';
set[input].push_back(elements);
but it doesnt work.