I am trying to check to see if my id field is unique. I had the code working when it was just a vector but now that's being used as part of a struct its giving me a weird error (taking me to a pop up page in the compiler called stl_algo.h. Below is my code, would someone please point me in the right direction? Thank you!
Thanks for pointing that out was trying a few different ideas and left the pointer there by accident. I still cant get it to work with it being a string data type though, it seems to work fine if it's a standard vector, but when part of a structure its having troubles