IBM Support

How can standard C++ headers (i.e. iostream, cstdio) be used with Rhapsody?

Question & Answer


Question

How can standard C++ headers (i.e. iostream, cstdio) be used with Rhapsody?

Answer

Set the configuration Environment to be MSStandardLibrary to include standard C++ headers.
 
Another option is to specify the OM_STL compilation flag in the compiler settings. The difference is that the MSStandardLibrary is only available for VC++ and that its exposing the std namespace - using namespace std. While OM_STL is supported for all environments and doesn't expose the std namespace.
415AnswerProduct versionPartner ContentInternal ContentCategoryReference IDAuthor

[{"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

10302

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323620