I'm a little rusty on my c++. I'm using a c++ based program called root and am trying to analyze some data. I've created a script, but I'm trying to make it more efficient by shortening an array up.
The array consists of multiple numbers, but sometimes the numbers are repeating. I'm trying to get rid of the repetitions so I'm trying to make a function and return an array.