Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question//--------------------------------------------------------------------------------------------- #include <conio.h> void main() { int touche; cprintf ("\nAppuyer sur la touche ECHAP pour quitter\n"); while(1) { touche=getch(); if (touche==0 || touche==224) { cprintf("Scancode : ");//il s'agit d'un scancode cprintf("%d",touche);//1er retour de getch cprintf("%c",44);//insérer virgule touche=getch();//2eme appel } cprintf ("%d\n",touche);// code ascii if (touche==27) return; } } //---------------------------------------------------------------------------------------------