i'm planning to make a program that will solve for the parabola of a given equation but i don't know how to output it?

is there a function in C++ that will allow you to draw a graph of a parabola?

Printable View

- 02-07-2003boa_321graphing a parabola
i'm planning to make a program that will solve for the parabola of a given equation but i don't know how to output it?

is there a function in C++ that will allow you to draw a graph of a parabola? - 02-07-2003xds4lx
in simple no. if you are programming for windows you can use gdi for this. just use the equation to plug in values and plot the points and then connect them with a line, the smaller you increment the values to plug in the more natural your parabola will look.

- 02-07-2003Sebastiani
oh, you mean like the ToParabola() function?

I don't think so. :D

Basically you must output your calculations using some GDI API, or else you can download the DirectX Development kit, for instance, which will actually have such high-level facilities available to you. - 02-07-2003Polymorphic OOP
you can do it in ascii using strictly standard functions, if you really wanted to.