Object Oriented C - ooc
Not looking for this?
There are some other projects with similar names.See them!
Download latest source code and documentation from sourceforge.net.
Tutorial in downloadable PDF.
ooc is licensed under LGPL 3.
ooc project page.
If you've been lost, just contact me at old-fashioned (at)
ooc programmning language is a different project!
Object Oriented C (ooc)
kit is for those who want to program in an object orieneted manner, but
stick on the good old C as well. ooc implements classes, single
and multiple inheritance, exception handling. Ideal for students
getting to know OO programming in pure C.
It can be mainly useful for education and for small systems
that lack C++ compiler. Althoug I have written quite complex programs
By the help of ooc
you can write object oriented code in C with little efforts, though you
must understand the underlying object model.
Creating ooc my main
goal was to develop a lightweight object model, that provides many
features of C++ but is pure ANSI-C. Thus this is highly portable even
for small embedded systems as well. On other hand it was kind a "proof
of concept" and a hobby.
ooc is mature enough to be ported onto small microcontrollers, PICs, or DSPs.
ooc is like giving a good old steam locomotion a new life! :-)
There are some other object models in C as weel. They may be worth a try. The mostly known is GObject, that is a very sophisticated system, but requires lot of typing, and subclassing is labor-intensive.
A short comparison table may help understand the key differences:
Currently supported compilers / platforms
Projects with similar names
THIS ooc is a set of C macro collection and a small C library!
Latest2017. 10. 28.
2011. 08. 10.
ooc is listed on Softpedia.
2011. 07. 31.
Version 1.1 is available:
Version 1.0 is available:
Version 0.9.g is available:
Version 0.9.f is available.
Version 0.9.e is available.