Inheritance/Single/C: Difference between revisions

m
Add links & section header
No edit summary
m (Add links & section header)
Line 1:
==Manual Object System==
Although C is not considered an OO language, you can do the following, which provides a
Although [[C]] is not considered an OO language, you can do the following, which provides a semblance of an OO infrastructure allowing Inheritance and Polymorphism. The original [[C++]] was a front end which translated C++ code to C. (C++ was much simpler in those days.)"
front end which translated C++ code to C. (C++ was much simpler in those days.)"
<lang c>/* Animal.h */
#ifndef _ANIMAL_H
Anonymous user