Hello, I'm currently learning C++ and I've learned about the incrementation a while ago. I know that you can use "++x" to make the incrementation before and "x++" to do it after.
Still, I really don't know when to use which... I've never really used "++x" and things always worked fine so far, but when should I use it?
Exemple : In a for loop, when is it preferable to use "++x"?
Also, could someone explain exactly how the different incrementations(or decrementations) work? I would really appreciate.
Thanks for your help :) .