I want to do very simple graphs.
Basically I want to be able to create dots where I need to. How do I go about graphics with c++?
(do I have to use openGL?)
I want to do very simple graphs.
Basically I want to be able to create dots where I need to. How do I go about graphics with c++?
(do I have to use openGL?)
Well you can start by saying which OS/Compiler you're using (today)
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
What do you think about language!
Or for werry simple graph aboutCode:Mathematica
Code:Excel
Sorry for spelling errors, not English!
xxxrugby: "All Human Race Will Die From My Hand!"
xxxrugby: "We are all philosophers, when question is about politics!"
No you can use DirectX, GDI, etc...
More info is required I'm afraid before we can help you.
You should check out Allegro . It's cross-platform and very easy to use. It's intended as a game programming library, but of course you can use it for any type of application that requires graphics or sound or such.
I am using dev c++ with windows XP
I want to be able to do graphs which are
y=mx+b
so curves and such.
Are you talking windows or console programming?
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem
You may consider the SDL Libraries. Portable, simple, uses OpenGL.
console application
You cannot place pixels in a console application.
A simple solution is using SDL or Allegro. Other solutions are GDI, DirectX or OpenGL (As stated above)