Home » U++ Library support » U++ Core » Problem when sorting arrays of arrays
Problem when sorting arrays of arrays [message #15383] |
Fri, 18 April 2008 16:49  |
cb31_fr
Messages: 5 Registered: April 2007
|
Promising Member |
|
|
Hye,
I have a big problem when I want to execute the program attached.
I have a class which contains an array of ElementTable structure :
typedef struct {
long Index ;
Array<long> Element ;
} ElementTable ;
Array<ElementTable> LaTable ;
I initialise my table (LaTable) with some values (see program attached), but after sorting this table, each "Element" array of the ElementTable structure gives me -1 for the GetCount() method.
It seems that each Element array has been cleared !
I don't understand why.
Is there a way to sort arrays which contain arrays ?
Thanks.
(Excuse-me for my english !)
Regards.
Christian
|
|
|
Goto Forum:
Current Time: Fri Jul 18 17:58:39 CEST 2025
Total time taken to generate the page: 0.03672 seconds
|