After I have studied iterators long enough, I decided to try and see how a bubble sort would work if done completely with them, however my code is ignoring the first position of the vector I'm trying to sort.
Thank you for your reply. It seems it was easy for you to see the problem in my code, however, it wasn't as evident to me, I placed that ++ purposefully because I remember that's how I learned to do the algorithm, and actually I don't understand how can both iterators point to the same first position during the initial iteration for for both loops. I believed that wouldn't work.
Can you provide some insights ?