Touche clavier
Fermé
apas
-
25 oct. 2004 à 15:47
blurk Messages postés 486 Date d'inscription vendredi 16 avril 2004 Statut Membre Dernière intervention 15 mars 2009 - 25 oct. 2004 à 17:54
blurk Messages postés 486 Date d'inscription vendredi 16 avril 2004 Statut Membre Dernière intervention 15 mars 2009 - 25 oct. 2004 à 17:54
A voir également:
- Touche clavier
- Touche rémanente - Guide
- Touche inser clavier - Guide
- Touche verrouillage clavier - Guide
- Changer clavier qwerty en azerty - Guide
- Télécharger clavier arabe samsung - Télécharger - Bureautique
1 réponse
blurk
Messages postés
486
Date d'inscription
vendredi 16 avril 2004
Statut
Membre
Dernière intervention
15 mars 2009
160
25 oct. 2004 à 17:54
25 oct. 2004 à 17:54
salut,
attention, seulement pour borland sous dos ou windows!
(borland turbo c, borland c++ , c++ builder en mode console )
¤
#include < conio.h> #include <stdio.h> /*on sait jamais ca peut servir*/ void attendre_touche() { char c; while(!kbhit()) printf("appuyez sur une touche\n"); c=getch(); printf("la touche est appuyée est : %c \n",c); } int main() { attendre_touche(); return 0; }
attention, seulement pour borland sous dos ou windows!
(borland turbo c, borland c++ , c++ builder en mode console )
¤