void NouvelleLocation(Emprunteurs *Hash1, Vehicules *Hash2, Flotte *Hash3, Locations *Hash4){ Location loc; int touche2, num; num = Hash4->GiveNumero(); loc.NouvelleLocation(num, Hash1, Hash3); loc.PrintDevisFacture(Hash1, Hash2, Hash3); cout << "\nF1. Pour confirmer l'enregistrement. Sinon appuyez sur une touche pour continuer" << endl; touche2=getch(); if (touche2==0 || touche2==224){ touche2=getch(); if (touche2==59){ Hash4->EnregistrerLocation(loc); cout << "Enregistrement effectue" << endl;} } system("pause"); }