there are many
programs that
support object-
oriented
programming
C++,EIFFEL,JAVA,ect.
it is important to remember that
for an object-oriented software
decrare must contain at least the
following characteristics
el programa tiene identificado
claramente las clases y sus
jerarquias
polymorphisms using
clearly defines each class of its
method
encapsulation information
modulation
ecepciones and
concurrences
association between
objects
you can use the
object-oriented
programming using C
language
C language is not strictly
oriented language abjetos
But you can follow to be able
to use certain Reclass
to implement a design that
corresponds to the POO
They have to
comply with
these rules
translating the
data structures
classes
pass arguments to methods
reserve space for objects
implement the data
structure inheritance
implement method
resolution
implement partnerships
encapsulate
internal details of
classes
Definition of classes
the concept of class
does not exist as such
in the C language
to have classes in C language
mechanism (struct ) is used to define
and encasular Tada information
heritage
the ence is implemented in C
referenced to the upper
structure derived structures
it is recommended that define both
access methods writable each of the
data members of each class
this hierarchies ago because when
they go back complex , access is
also given in the same way
associations
The implementation of
partnerships between classes or
objects thereof, are performed ,
except JAVA , in the same way as in
most OOP languages oriented :
using pointers.
the associations can be implemented by other more complex structures
such as tables , trees, sparse matrices type ( sparce ) , etc.