Solved

c++ - graphics help for newbie

Posted on 2014-02-14
3
245 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Title # Comments Views Activity
Apache module 5 86
Apache LDAP Authentication 20 72
Understanding ping command in Ubuntu 5 64
Cron job never runs on vCenter 6.5 appliance 7 31
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

732 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