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...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Interoperability with C and libraries
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
Reviews
- - C/C++ users jounal, CMP Media LCC, San Francisco.
- - Journal of Object-Oriented Programming, A 101 communications publication, R. Wiener (éd.) (University of Colorado)
In Engineering Techniques
- ...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!