Bonjour,

Je souhaiterais savoir comment lier 2 Structures avec 1 champ identique.
Le but serait de faire une recherche sur un champ qui afficherait tous les champs des 2 structures.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Struct livre 	
{
string nomEmprunteur;
string nomLivre ;
} ;
 
Struct Emprunteur 	
{
string nomEmprunteur;
string adresse ;
} ;
 
Vector <livre> liste ;
 Vector <Emprunteur> annuaire ;