Wednesday, November 21, 2007

Difference between C and C++ programming language

This C language was the C++ predecessor. Even though not actually being more powerful than C, C++ lets the programmers to more easily deal with and operate with Objects, using an OOP (Object Oriented Programming) concept.

The C++ allows the programmer to create classes, which are a bit alike to C structures. Although it is possible to apply anything which C++ could implement in C, C++ aids to standardize a means in which objects are created and managed, whereas the C programmer who implements the same system has alot of liberty on how to really implement the internals, and the style among programmers will differ alot on the design choices made in a program.

In C, some will choose the handler-type, where a main function initializes a handler, and that handler can be provided to other functions of the library as an object to manage on/through. Others will even want to have that handler link all the associated function pointers within it which then must be called using a convention closer to C++.

No comments: