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; }

2014-01-19 12:37:10

TELL US , if you have any answer

There is NEVER a problem, ONLY a challange!

The helpinganswers.com is a free-to-use knowledgebase.
  The helpinganswers.com was started on: 02.07.2010.
  It's free to register. Once you are a registered user, you can ask questions, or answer them.
  (Unless registration you can just answer the questions anonymously)
  Only english!!! Questions and answers in other languages will be deleted!!

Cheers: the PixelFighters

  Contact: support@helpinganswers.com

C'mon... follow us!

Made by, history, ect.