Tinkering With Keyboard
____________________
#include"stdio.h"
#include"dos.h"
void interrupt (*k)(void);
void interrupt show();
int i;
void main()
{
k=getvect(0x9);
setv
}
void interrupt show()
{
for(i=0;i<=3;i++)
(*k)();
}
__
Steps to execute -
1. make an .exe file of this program.
2. run it from command Prompt.
3. then make any key stroke in that command Prompt ,you can see the difference..i.e after 1 key stroke it will display 4 characters of it(you can edit it).

No comments:
Post a Comment