On 10/16/2011 08:12 PM, Narendra Sisodiya wrote: > > > On Oct 16, 6:24 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? >> >> Regards, >> Rishi Agarwal > > > > Dear Rishi, > why you want to learn graphics in DOS ? Why not learn graphics > which works cross platform ? standard .. > > Here are few options. > > Use DevCPP and Learn Open GL > OpenGL is heavy, you can learn GTL http://www.nigels.com/glt/ > > > Other 2D graphics APIs > > cairo – a cross platform graphical vectorial draw and text > toolkit. > GTK+ – a cross platform graphical widget toolkit. > Java 2D – a cross platform API for drawing two-dimensional > graphics. > Qt – a cross platform graphical widget toolkit. > wxWidgets – a cross platform graphical widget toolkit. > Asymptote Vector Graphics Language – a script driven, LaTex > compatible, language for high quality sketches, graphs, diagrams, > geometry and typesetting with output in PostScript, PDF, SVG, and 3D > PRC. > > > > Must read discussion - > http://stackoverflow.com/questions/1924171/simple-c-graphics-library >
What about those bloody fucking exams? I was just about to ask this graphics question here because I have installed Ubuntu 11.10 on a non-geek friend's old P4. He's doing just C now, and next semester we have C++ with graphics.h -- Nilesh Govindarajan http://nileshgr.com -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
