Plese who knows how a graph can be implemented in the form of a c program?
This is a discussion on graphs within the C Programming forums, part of the General Programming Boards category; Plese who knows how a graph can be implemented in the form of a c program?...
Plese who knows how a graph can be implemented in the form of a c program?
With a matrix or a list! Both have pros and cons of course. Google it for more![]()
Code - functions and small libraries I use
__________________________________________________ __________________________________________________ ______________
It’s 2013 and I still use printf() for debugging.
For graphs as in plotting for scientific purposes, there are libraries which make this easier
There is Gnuplot which can be called from C.
gnuplot documentation
Another one which looks interesting is MathGL - also with a C API
MathGL 2.0