Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old July 8th, 2008, 07:35 AM
Slickuser
Guest
 
Posts: n/a
Default procedure flow diagram

Are there any free software that can generate flow diagrams after I
write the C++ code? Thanks.
  #2  
Old July 9th, 2008, 03:35 PM
Slickuser
Guest
 
Posts: n/a
Default Re: procedure flow diagram

On Jul 8, 12:01 am, Michael DOUBEZ <michael.dou...@free.frwrote:
Quote:
Slickusera écrit :Are there any free software that can generate flow diagrams after I
Quote:
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.
  #3  
Old July 10th, 2008, 12:05 AM
AnonMail2005@gmail.com
Guest
 
Posts: n/a
Default Re: procedure flow diagram

On Jul 8, 2:28*am, Slickuser <slick.us...@gmail.comwrote:
Quote:
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
  #4  
Old July 12th, 2008, 05:55 PM
Slickuser
Guest
 
Posts: n/a
Default Re: procedure flow diagram

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++;
}

}
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.