Is there any free C/C++ code to flowchart generator tool available on the net for download?
views:
296answers:
5Doxygen doesn't make flowchart persay, but it can generate do a function graph for you. The following answer is for php, but Doxygen works for C and C++ as well.
http://stackoverflow.com/questions/1235513/php-call-graph-utility/1235535#1235535
SCItools makes a product called Understand that provides a number of metrics as well as flow charting of execution. There is a free trial available, but the licensed version is pretty spendy. I don't think there are any limitations on the demo, but I'm not sure.
GraphViz can generate all kinds of pretty graphs/charts. Doxygen uses a tool built on graphviz, called Dot, to generate its function call flowcharts.
You can either call graphviz as a library (it's written in C), or generate the Dot language and then execute the dot program on it.
Source Navigator NG is a pretty good, free ( and open source) alternative to the big guys like Understand for what you want.
I work on a tool called Code Rocket that can generate flowcharts from C/C++ code (and C# and Java) and vice versa that you may wish to try. Its not a free tool but there is a fully functioning 30-day free trial available on our website.
More details here: www.getcoderocket.com
Best regards, Alan