Structured Design for C Programs
The C programming language has been widely used for many years. Many vendors including Microsoft, Embarcadero, IBM and open source projects offer C development environments. Structure charts show each function in a C program as a top down tree of calling relationships. As a program grows, structure charts are leveled into separate diagrams based on the organizational structure of the program.|
The C language is popular for real-time software with many hardware interactions. In a multi-tasking software system, a Task diagrams shows each thread of execution (ISR, Task) linked through operating system services (queues, event flags, mailboxes). Task and ISR objects on the Task diagram link to structure charts that document each thread of execution.
Use WinA&D to draw Task diagrams and structure charts enriched with C language specific details like data type, arguments, descriptive comments or implementation code. Generate the function frames (including code or implementation notes) of an entire program to exactly match the design.
WinTranslator scans C code written in almost any vendor dialect to extract design information to a text file. Import that file into WinA&D to generate a leveled stack of structure charts.
Each module box on a structure chart is linked directly to the associated function in the source code and presented by the built-in code editor.