0

Beginner's question : How is c different from c++?
what are the differences?
Which one shoul i go for , if i know basic oops (just basics)?

plz provide some genuine answers rather than simply "google"ing ..... I have searched a bit and not yet satisfied.

2
Contributors
1
Reply
12
Views
2 Years
Discussion Span
Last Post by rubberman
1

C++ is derived from C, and is fully compatible with C code. It has added classes, templates, references (vs raw pointers), and a number of other advanced programming features that allow you to write very complex programs much more quickly and with less code that it would require in C. As it is, the original C++ was a pre-processor for C, and C++ code would be turned into C code for the C compiler. That was the standard when I started programming in C++ in the early 1990's some 25 years ago.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.