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 program to detect the user's browser ?
how to copy form data between different pages
Code for Adding Message and Confirmation Boxes Using JavaScript?
how to prevent an Event from performing its default behavior
how to create a Custom Scrollbar
code to detect availability of cookies
how to transform XML Data into HTML
validation code / function to allow only Letters in a text box
create a slide show
how to get the User's Time of Day
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
how to pass data between pages using Frames