hi guys

i need a small help about drawing gragh.

program should include this user interface.

User will enter a and b values then click the draw button. Then program should show the graph of function.

i will add the type of function and the formula of it, if anybody can do that for me.

Note:I dont know anything about c++. I want forum you form my new friend :)

4 Years
Discussion Span
Last Post by Ancient Dragon

Note:I dont know anything about c++.

Good luck! Do you know anthing about programming at all? If not you are in very deep cow dodo.


@hiroshe i need a function which draws a graph of mathematical equation and user will enter the parameters of this equation.


Welp, if your problem is that "you have no idea how to get started", then I can redirect you to some tutorials. You can start by reading over this. Next, you'll need to learn how to use some kind of ui toolkit. Some examples are FLTK, WxWidgets, Gt, GTK+, Windows API. Then you'll need to decide how you what you want to draw it with. You could try drawing it yourself on a provided canvas. Or you could try using GNU plot or perhaps MathGL.


Yes i can but teacher won't accept it unfortunately

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.