procedure flow diagram

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Slickuser

    procedure flow diagram

    Are there any free software that can generate flow diagrams after I
    write the C++ code? Thanks.
  • Slickuser

    #2
    Re: procedure flow diagram

    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.

    Comment

    • AnonMail2005@gmail.com

      #3
      Re: procedure flow diagram

      On Jul 8, 2:28 am, Slickuser <slick.us...@gm ail.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

      Comment

      • Slickuser

        #4
        Re: procedure flow diagram

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

        Something like this?


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

        }

        Comment

        Working...