C and C++

Miscellaneous Forums/General Discussion/C and C++

"That's like asking "what's the difference between FORTRAN and Python"

I dont attend this forum so often but now I can understand your answer about my previous thread : FSM \NN's comparison
How is it seriously possible to give an answer like that ?

If they call it C++ , it is evident that C++ is supposed to be an enhanced version of C

however chwaga

The syntax is about the same
C++ extends the concept of C structure
A C++ class can include also functions not only variables, which are called methods
A class is the core of the famous Object Oriented Programming (OOP)
The main advantage of OOP over the traditional programming languages, are

- Data incapsulation
- Code re_usability
- Data protection

Dont assume that OOP fita all.
If you abuse of it , OOP can be nightmare