C code generation in Rational Rhapsody

Code generated by IBM® Rational® Rhapsody® provides implementations of ANSI‑compliant C code from design diagrams. It is possible to include and link Rational Rhapsody-generated C code in any C++ system, with the appropriate wrapper.

For example:

#ifdef _cplusplus
extern "C" {
#endif
/* wrapped C code */
#ifdef _cplusplus
}
#endif

Rational Rhapsody‑generated code supports static memory allocation where dynamic memory management is not required, and for dynamic memory allocation based on the user configuration.

In addition, Rational Rhapsody has features for managing source files, such as viewing, error handling, and roundtripping, which provide full associativity between the code and your model.


Feedback