Hi I'm writing a program that takes a randomly generated vector and checks that vector to see if there are any repeated elements. If there are, I am to delete those elements.I can't declare any new vectors, I can't change the order of any non repeated numbers and I can only use the vector functions pop_back(), push_back(), and .size().
vector after it goes through the program: 3 5 1 4 2
my program compiles (using g++ -ansi - pedantic -Wconversion) and it runs and outputs everything it supposed to but it prints out a whole block of text starting with
"*** glib detected ***. What does this mean?
here is the part of my code where I think I went wrong if you need it.
Thank you for taking the time to read this