Fonction wait pour C++ sous linux
Résolu/Fermé2 réponses
pyschopathe
Messages postés
1974
Date d'inscription
dimanche 2 mars 2008
Statut
Membre
Dernière intervention
22 mars 2010
135
11 mars 2009 à 15:54
11 mars 2009 à 15:54
Utilise la fonction sleep(temps_en_seconde). Il faudra pour cela inclure l'en-tête <unistd.h>.
La fonction wait attend un signal, pas un temps ;-p.
La fonction wait attend un signal, pas un temps ;-p.