I have a program I made in C++ that does not use classes, just simply functions and main().
I want to know what kind of diagrams I can draw for it. Here are a couple of things I have in mind.
- Activity diagram
- Sequence diagram
- class diagram – obviously can’t draw this because I didn’t use classes
- system architecture
- state diagrams
- use case diagrams
Out of these what can I draw?
I’m guessing from the diagrams that you are aligned to a * Unified Process approach.
IMHO:
However, you might hit issues if you want to generate and round-trip code from your diagrams e.g. from a CASE tool such as Rational Rose – most will assume an OO implementation language (noting that the three Amigos are strongly associated with OO!)
I guess this begs the question as to why you would need to develop a procedural app using an OO language and document it with OO techniques?
HTH