IBM Support

Convert a C to C++ project or viceversa

Question & Answer


Question

Can we convert a C to C++ project or viceversa?

Answer

When you create a unit, the Unit Information window provides a list that allows you to select a specific language for the unit. The default language for a new unit is the language of its owner unit.

Procedure
1. Right-click the unit in the browser, and then select Unit > Edit Unit.
2. When the Unit Information window is displayed, select the language from the list.
3. Click OK.
4. When you are asked to confirm the change, click Yes.
 
Results

If you are changing the language of a unit that contains subunits, IBM® Rational® Rhapsody® asks you if you also would like to change the language of all the contained subunits.


 

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

11114

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21324087