[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 989
  • Last Modified:

How to get flow chart or UML Activity Diagram for C/C++

Have a C++ program and want to get a flow chart or UML Activity Diagram to improve algorithm and understand the logic. Does any guru know any decent tools to do that?
0
jl66
Asked:
jl66
  • 2
  • 2
  • 2
  • +1
3 Solutions
 
LeeeRussellCommented:
I've used Crystal Flow to do this:

http://www.sgvsarc.com/Prods/CFLOW/Crystal_FLOW.htm

I thought it was pretty good.
0
 
theKashyapCommented:
Licensed or free?
Licenced: Rational Rose is big hit. Other option is RSM (Rational Software Modeler, it's a licensed eclipse plugin from Rational).
Free: You'll find plenty of UML plugins for eclipse.

I find Rose to be the best, perhaps because I've been using it all my life, but with eclipse plugins I've seen that if you don't have enough processing power it can be irritatingly slow.

How does it improve the algorithm? Well, just documenting it doesn't "improve" the algorithm as such, it gives you a better visual grip / understanding of an algorithm. You have to know how to improve it to improve it. The simplest example that comes to mind is breaking out of a loop when you find what you're looking for.
0
 
jl66Author Commented:
Thank both of you for the recommendations. Just want to get the ideas from your gurus. If the paid version is worth the price, definitely buy it.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Jose ParrotGraphics ExpertCommented:
I agree to theKashyap hint: Rational is the number one.
By the free side, I recommend StarUML. I can't say if it is the number one, but I use it and like a lot.
It has also a programming language generator (C++, C#, java) and plugins to MS Office (Excel, Word, Powerpoint). The graphical interface is very intuitive.

Jose
0
 
LeeeRussellCommented:
Maybe I've misunderstood the question, but I recommended Crystal Flow because I thought the questioner wanted software that would produce UML documents from pre-existing code.  Does Rational Rose do this?  My use of it is limited, but I didn't think it did?
0
 
theKashyapCommented:
"...I thought the questioner wanted software that would produce UML documents from pre-existing code.  Does Rational Rose do this?  My use of it is limited, but I didn't think it did? "
Yes and no.
Yes, it generates "UML documents". I've done with java and c++ at least. It's called reverse engg in Rose.
No, it doesn't generate "flow diagram", which I guess is what you meant. :)
(same goes for RSM though I've never done it myself)
I suppose Crystal Flow can generate flow diagrams? Good to know!
0
 
jl66Author Commented:
Thanks a lot for the tips and links. Actually I need all.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now