Question #13200224
Tinkering with Keyboard?
Hai Folks, I am having a trouble with the following C++ Program. Could need a HELP. Error occur during compilation saying.... Cannot convert void interrupt in line 12 #include<stdlib.h> #include<conio.h> #include<dos.h> void interrupt our(); void interrupt(*prev)(); char far *kb=(char far *)0x417; unsigned char color=64; void main() { prev=getvect(9); setvect(9,our); keep(0,1000); getch(); } void interrupt our() { (*prev)(); *kb=*kb/64; }
TELL US , if you have any answer
Sponsored ads
TAG cloud
Tinkering Keyboard Folks
I having trouble following Program during compilation saying
Cannot convert interrupt 12
include lt stdlib h gt
include lt conio h gt
include lt dos h gt
void interrupt our
void interrupt prev
char kb char 0x417
unsigned color 64
void main
prev getvect 9
setvect 9 our
keep 0 1000
getch
void interrupt our
prev
kb kb 64
0