Reading which Character Key was pressed
Answer / jagdish patel
#include<stdio.h>
#include<conio.h>
void main()
{
char character;
character=getch();
if(isalpha(character))
printf("alpha");
else if(isdigit(character))
printf("digit");
else
printf("pressed key is special key");
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
write a function to validate a given date
how to determine which Mouse Button was pressed
maximizing the main window
Create a Menu that can be activated while clicking on Right Mouse button
snippet to prevent submission of form when certain/any validations got failed
determine which key was pressed and its type
how to pass data between pages using Frames
code to set the main window's size
Reading which Character Key was pressed
code to positioning of window in certain dimensions
code to get the coordinates of a Click Event
How to block double clicks