-
Graph in console app.
Hi,
I need som help, I want to display a graph in a window. It has something to do with a mathematical graph I want to display. For now my application is a console app, that calculates some different equations, such like quadratic, triangles and so on, and I want to display this graph from the equation that the program calculates.
I've read that the Borland graphic.h header is outdated and therefore I'm a little on the scratch, so anything from links showing tutorials about it, another library or anything would be greatly appreciated.
Some code to study is also welcome.
I'm using Microsoft Visual C++ 6, if it helps.
Thx in advance..
-
by mathematical graph, I'm guessing you mean a cartesian graph. If that is so, then you may want to look at windows GDI. It's a bit more simple than DirectX or OpenGL if you have windows programming experience. Althouth, I will say that using outdated software isn't always a bad thing. If this is all you plan on using it for, why not use borland's graphics?
-
Well, I thought about windows GDI, I don't have much experience with it, but a little.
For my own program it would be okey to use some outdated software, but I just would like to be on the way where I won't run into a barrier when I want to learn more, so why not be on the right way from the beginning?
Do you know of some http addresses where I can read about it, or have some tutorials? I would greatly appreciate it :)
-
Perhaps this, if you want some simple graphics
http://www.libsdl.org/index.php
-
Thx Salem, I'll try taking a look at it :)