Solved

c++ - graphics help for newbie

Posted on 2014-02-14
3
241 Views
Last Modified: 2014-03-01
Hi,

I am a newbie with C++ but my main goal is to working with graphics. I want to draw circles and rectangle and lines and connecting lines with circles etc.

Please help me how can I start. Which compiler or library I should use so it can work with windows and Linux(prefer if it work with both Linux and Windows otherwise Windows is important). I am using Eclipse as IDE.

Please guide.

Thanks
0
Comment
Question by:Johny12345
3 Comments
 
LVL 86

Assisted Solution

by:jkr
jkr earned 250 total points
ID: 39860243
I'd recommend 'CxImage' for that, it comes for buth Windows and Linux and is free, see http://www.xdp.it/cximage.htm and the introductory article at http://www.codeproject.com/Articles/1300/CxImage

Note however that this is mainly an image manipulation library, yet you can draw as well.
0
 
LVL 2

Accepted Solution

by:
ddurgaprasad earned 250 total points
ID: 39862256
For any platform-linux,windows,mac ,OpenGL is the best library.It will work with almost all compilers.Be cautious that there are various versions of OpenGL.The first link below starts with earlier version of OpenGL which are really easy to get started quickly.However,OpenGL current version in 4 and has very big learning curve.Go through each link below in the given order,your transition will be smooth from version to version.

For basics,try the below tutorials
http://www.videotutorialsrock.com/
http://www.swiftless.com/opengltuts.html
http://nehe.gamedev.net/

Get in touch if you have further queries.Good luck :-)
0
 

Author Closing Comment

by:Johny12345
ID: 39897639
thx
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question