IBM Support

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

Technote (FAQ)


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

Historical Number

10302

Document information

More support for: Rational Rhapsody
General Information

Software version: Version Independent

Operating system(s): Platform Independent

Reference #: 1323620

Modified date: 27 October 2010