Object Oriented C Pdf
ooc programmning language is a different project!
Download Free PDF. Download Free PDF. Object Oriented Programming With C Principles and advantages of oop. Download Full PDF Package. Object –oriented system can be easily upgraded from small to large system. Difference between C and C. By LuCkY KaLyAn KuMaR MiRiYaLa.
Object Oriented C (ooc)kit is for those who want to program in an object orieneted manner, butstick on the good old C as well. ooc implements classes, singleand multiple inheritance, exception handling. Ideal for studentsgetting to know OO programming in pure C.
It can be mainly useful for education and for small systemsthat lack C++ compiler. Althoug I have written quite complex programsusing ooc!
By the help of oocyou can write object oriented code in C with little efforts, though youmust understand the underlying object model.
Creating ooc my maingoal was to develop a lightweight object model, that provides manyfeatures of C++ but is pure ANSI-C. Thus this is highly portable evenfor small embedded systems as well. On other hand it was kind a 'proofof concept' and a hobby.
ooc is mature enough tobe ported onto small microcontrollers, PICs, or DSPs.
ooc is like giving a good old steam locomotion a new life! :-)
Features
Object-oriented Programming In C++ Pdf
- Uses only C macros and functions, no language extensionsrequired! (ANSI-C)
- Easy to read source code for your application. Care wastaken to make things as simple as possible.
- Single inheritance of classes
- Multiple inheritance by interfaces and mixins (sinceversion 1.3)
- Implementing exceptions (in pure C!)
- Virtual functions for classes
- External tool for easy class implementation
Comparison
There are some other object models in C as weel. They may beworth a try. The mostly known is GObject,that is a very sophisticated system, but requires lot of typing, andsubclassing is labor-intensive.
A short comparison table may help understand the keydifferences:
Feature | ooc | GObject | C++ |
---|---|---|---|
Class inheritance | + | + | + |
Multiple inheritance:interfaces | + | + | |
Multiple inheritance:mixins | + | + | |
Run-time type safety | + | + | (optional) |
Exception handling | + try .. catch . finally | + try .. catch | |
Managed pointers | + ooc_manage, ooc_pass | + std::auto_ptr<>() | |
Operator overloading | + | ||
Function / methodoverloading | + | ||
Properties | + | ||
Compile time private /protected / public check | so-so | + | |
Broad range ofcontainers, utilities | lacks many :-( but Glib can be used! | many (Glib) | many (STL, Boost) |
Currently supported compilers / platforms
Object Oriented Software Engineering Timothy C Lethbridge Pdf
- GNU GCC 4.x on Linux (with automake tools as well)
- Microsoft Visual C++ 2008 (Express edition as well)
- MPLAB C18 for the Microchip 8 bit PIC families (runs onwindows)
- MPLAB C30 for the Microchip 16 bit PIC families (runs onwindows)
- MPLAB C32 port for the Microchip 32 bit PIC families (runson windows)
Projects with similar names
THIS ooc is a set of C macro collection and a small C library!
Unfortunately shares the name with some other projects of similar purpose.
Shall you be interested in those, you can find them here:
ooc programming language (that is a LANGUAGE and a compiler called rock) | http://ooc-lang.org/ |
A good book introducing the concept and the related ooc C PREPOCESSOR | www.cs.rit.edu/~ats/books/ooc.pdf www.cs.rit.edu/~ats/books/ooc-02.01.04.tar.gz |
Ytd pro serial key only. Happy ooc-coding!