How would one write object-oriented code in C?

Dinah picture Dinah · Dec 9, 2008 · Viewed 311.5k times · Source

What are some ways to write object-oriented code in C? Especially with regard to polymorphism.


See also this Stack Overflow question Object-orientation in C.

Answer

mepcotterell picture mepcotterell · Dec 9, 2008

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