Bonjour,
je voudrais savoir quelle est la solution la plus performante pour une recherche assez fréquente.
Faut-il mieux utiliser un structure ou une map de ce type :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Struct Objets
{
Int lrcTn;		
Int localTn;		
Int deltaT ;		
Int nat ;		
char scr [8] ;		
int azimuth ;
float range;
char latitude [9] ;
char longitude [9] ;
int course ;
int speed;
char name [10];
char environment [15];
char trackIndentity [15];
char trackPriId [30];
char trackSecId [30];
} objets[100];
ou

typedef std::map <Int ,Int ,Int ,Int ,char , int, float, float, char , char , ...>

Merci