Alex Rivera | Logout

Why is C++ compatible with C?

Asked 2011-03-05T22:21:17.007
15

After reading an amount of C++ articles and tutorials, I often see the phrase "C++ is not C!" or some variant. If this is true, why is C++ trying to be compatible with C? Surely this just encourages C programmers to write bad C++ code? I'm only a newb in the field, so feel free to bombard me with reasons why I'm wrong in thinking that C++ should just make it's mind up and forget C. Ell.

c++ c
Edit
Report

1 Answer

9

You can read the historical perspective from the man himself here.

Should C++ forget C? In a sense it already has, the development of the two languages progress independent of each other.

answered 2011-03-05T22:30:14.197

Your Answer