How should I write a program,which can use the mouse like input,I mean I have to write a program with mouse!
HELP!!
How should I write a program,which can use the mouse like input,I mean I have to write a program with mouse!
HELP!!
What OS and compiler? DOS or Windows? Windows GUI or console program in Windows?
Help us help you.
gg
If you want to write a windows program, you have to learn to program the Windows API. If and when you are confident with your C/C++ console programming ability, get the book "Programming Windows" by Charles Petzold.
There are some windows examples at www.cplusplus.com and here http://sunlightd.virtualave.net/Windows/
My programme should work in DOS.
What compiler? Is this a machine running DOS or are you making a DOS program that will run on a windows machine?
gg
My Compiler is a BorlandC++ 3.1,and I write a DOS program which should run under windows9x.
You will want to use int86() function in <dos.h> with interrupt 0x33.
Here are a few references to get you started:
I found these by performing a google search of "interrupt 0x33"
gg
Thx a lot, but furtunately I found my mistakes and my program works properly Ahh,At last.