1

Coming from a java (and other OO backgrond ) i got very cosy in with my objects, natural encapsulation and polymorphism.

All this i expected, the one this i didn't expect was to miss my class diagrams!

When the going gets tough or you start to worry about over coupling it was always my first stop. But i cant seem to find a C style equivalent (that doesn't date from the mid 90's) diagramming system or utility for C.

have i just missed some thing? is there a hidden gem out there some where? Even just something to show function calls between files so i can get an idea of whats going on where.

In short: Does any one have a suggestion (or tool) for how to model C file sets? function calls, includes, etc.

Thanks.

congusbongus
  • 13,359
  • 7
  • 71
  • 99
TrewTzu
  • 1,110
  • 2
  • 11
  • 27

1 Answers1

2

You can generate C code from class diagrams with UML applications such as IBM Rational Rhapsody or Eclipse-based open source Topcased.

You can generate call graphs, calling graphs and dependency graphs from C code with doxygen, powered by graphviz.

Community
  • 1
  • 1
mouviciel
  • 66,855
  • 13
  • 106
  • 140
  • ended up using doxygen. its prefect. – TrewTzu Feb 22 '13 at 11:06
  • @TrewTzu, then you were looking for tools to _document_ your code? As the question is written, it sounds like you want tools to _design_ the code. If my interpretation is correct, please edit the title of the question. – vonbrand Feb 22 '13 at 23:59
  • i was looking for some thing to display a call graph (except i didnt know it was called that), or really any kind of diagram of my existing system. doxygen out puts some really great call graphs. do you still feel i should edit it? – TrewTzu Feb 23 '13 at 02:01