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 |
Create a Menu that can be activated while clicking on Right Mouse button
write a program to detect the user's browser ?
code to positioning of window in certain dimensions
how to create Expandable and Collapsible Menus
how to delay a function call ?
code to images to rollover
how to get the User's Time of Day
how to Scroll a DIV content
create Drop-Down Navigation Menus
advance the focus to next consecutive fields when Enter Key is pressed
communication between main window and new windows
code to keep a page Out of the browser history