Solved

c++ - graphics help for newbie

Posted on 2014-02-14
3
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Suggested Courses

623 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