|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
* @param found: pointeur sur un entier qui indique si la valeur a été trouvée ou non
|
|
|
|
|
* @return index de la valeur recherchée dans le tableau cible ou celle d'insertion si non trouvée
|
|
|
|
|
*/
|
|
|
|
|
int searchClient(int targetTab[], int valSearched, int tLog, int *found)
|
|
|
|
|
int searchTab(int targetTab[], int valSearched, int tLog, int *found)
|
|
|
|
|
{
|
|
|
|
|
for(int i=0; i < tLog; i++)
|
|
|
|
|
{
|
|
|
|
|