Solved

c++ - graphics help for newbie

Posted on 2014-02-14
3
235 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
Comment Utility
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
Comment Utility
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
Comment Utility
thx
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now