C/C++ plot a graph

How do l calculate different values of f(x) given different values of x using C/C++, and then plot a graph using these values?

1 Like

hey @makhoe, try spending some time with Gnuplot: http://www.gnuplot.info/screenshots/index.html#demos

(check out the simple plots demo ^ it reminds me of matplotlib for python)

let me know if you still have trouble! and i can take a look then.