how to create a vector that takes in only unique values code example
Example: insert only unique values into vector
std::vector name;
....
if (std::find(name.begin(), name.end(), someName) == name.end()) {
// someName not in name, add it
name.push_back(someName);
}