By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,702 Members | 1,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,702 IT Pros & Developers. It's quick & easy.

procedure flow diagram

P: n/a
Are there any free software that can generate flow diagrams after I
write the C++ code? Thanks.
Jul 8 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Jul 8, 12:01 am, Michael DOUBEZ <michael.dou...@free.frwrote:
Slickusera écrit :Are there any free software that can generate flow diagrams after I
write the C++ code? Thanks.

Citation from another thread:
Have you tried google?

I would add sourceforge; I know there is a c++ to UML tool but finding
it is left to the reader.

--
Michael
I have tried Google and found a couple that is not FREE. Just wonder,
what you guys use that is free.
Jul 9 '08 #2

P: n/a
On Jul 8, 2:28*am, Slickuser <slick.us...@gmail.comwrote:
Are there any free software that can generate flow diagrams after I
write the C++ code? Thanks.
If you are talking about function call graphs? If so, try Doxygen.
Once you get used to it, it can generate various types of graphs
such as include graphs, function call graphs, etc.

HTH
Jul 9 '08 #3

P: n/a
Is it possible for Doxygen to generate a flow/procedure diagram for C+
+?

Something like this?
http://img156.imageshack.us/img156/9884/flowdy0.jpg

Code:
#include <iostream>

using namespace std;

int y()
{
int i = 0;
while(i <= 50)
{
i++;
}
return 0;
}

int x()
{
return 1;
}

int x1()
{
return 1;
}

int x2()
{
return 2;
}

int main()
{
int x;

x = 0;
while(x <= 10)
{
int y = 0;
if (x == 0)
{
x();
}
else if(x == 1)
{
x();
y();
}
else
{
x1();
}

// show even only
if (y%2 == 0)
{
x2();
}

x++;
y++;
}

}
Jul 12 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.