Interoperability with C and libraries
C++ language
Article REF: H3078 V1
Interoperability with C and libraries
C++ language

Author : Manuel SERRANO

Publication date: August 10, 2003 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

8. Interoperability with C and libraries

C and C++ share the same memory model (explicit pointer-based memory management) and the same functional model (activation blocks, § 5.2 ). As a result, C and C++ are totally compatible, and the two languages can exchange data structures and call each other's functions without any slowdown. This interoperability is one of C++'s strong points, as the many libraries and developments built around C can be used almost directly in C++. The only precaution to be taken comes from the coding of names...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Ongoing reading
Interoperability with C and libraries

Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details