Answer Posted / 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 |
Post New Answer View All Answers
code to images to rollover
how to create an anonymous function
advance the focus to next consecutive fields when Enter Key is pressed
code to create a new window
how to pass data between pages using Frames
code to positioning of window in certain dimensions
program to show a progress bar
sample code to auto focusing the first field in a form
program to bring a window to the front
code to keep a page Out of the browser history
communication between main window and new windows
code to set the main window's size
How to block double clicks
Create a ViewState Property?
How to encode and decode URL strings?