On Sun, Oct 16, 2011 at 6:54 PM, Rishi <[email protected]> wrote:

> Hi,
>
> I am required to make a assignment in Computer Graphics using C++ in which
> I have to control the mouse. I tried making it in Turbo C++ in windows 7 but
> gave up due to its medieval interface. I set up environment to do this in
> Linux using steps given here :
> http://itsanimesh.com/2009/01/08/c_graphics_in_linux/ . But the problem is
> that there is no substitute for dos.h in Linux which allows to access REGS -
> register which is used to store mouse positions. I googled it and find out
> that providing this type of access compromises OS's security so Linux
> doesn't provide it. Is there any work around?
>


Use Xlib if you want this program to work on linux. X11/Xlib.h  and
X11/Xutil.h should serve the purpose.

-- 
 Tavish Naruka

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to