R
Raous
I want to sort an array of classes.
So I need to exchange the value of class in this way:
tmp = a;
a = b;
b = tmp;
However, I know that this is not copying the value of class.
Could anyone tell me how to copy the value of class?
So I need to exchange the value of class in this way:
tmp = a;
a = b;
b = tmp;
However, I know that this is not copying the value of class.
Could anyone tell me how to copy the value of class?