C++ Mouseprogramming

Hello,

I`ve a small problem with the mouse- programing:

These is the program I`ve already done:



generally it works, the only problem is, that the y- coordinate
is shown false....
I don`t now where the mistake is hidden.
Hope somebody can help me
(im using Turbo C++)

Zagg7
Last edited on
Sorry, the times of DOS are over. Functions like int86 and DOS programs in general only work by means of emulation these days.
Get a recent IDE and compiler and forget any of these headers ever existed.
If you're interested in graphical programming, take a look at SFML.
Thank you....

The only problem is that we have a teacher how write programs with this old compiler...

We could use another but i havent enough time to learn another....


So i have to use this
I always have to ask when I see this damn IDE... what country are you located in?
Austria
Seriously? Your class is teaching you how to program for DOS?

I would seriously consider dropping that class. That's a huge waste of time. I would even report it to the school board and tell them how outdated it is.
Yeah you mean its out and shit...

But all other programmlanguages are based on this... (somehow)

We have to learn more program languages but this should be our basic knowledge about programing...

for instance assembler for machine control systems
Zagg7 wrote:
But all other programmlanguages are based on this... (somehow)


What?... That's a load of crap.

Zagg7 wrote:
for instance assembler for machine control systems


It's Assembly, an assembler is what translates your Assembly source to executable machine code.
Topic archived. No new replies allowed.