Dinah Dinah - 1 month ago 21
C Question

Can you write object-oriented code in C?

Can you write object-oriented code in C? Especially with regard to polymorphism.




See also Stack Overflow question Object-orientation in C.

Answer

Yes. In fact Axel Schreiner provides his book "Object-oriented Programming in ANSI-C" for free which covers the subject quite thoroughly.