mardi 29 septembre 2015

Quick sorting method for c++

I remember there being a quick way of sorting variables using if statements (not bubble sorting) but I can't remember how to execute it exactly

its was something along the lines of

if (a > b)& b : a;

but that isn't right.

If anyone knows what I'm talking about could you please refresh my memory?

Aucun commentaire:

Enregistrer un commentaire