Why is C++ backward compatible with C ? Why isn't there some "pure" C++ language ?

Posted by gokoon on Stack Overflow See other posts from Stack Overflow or by gokoon
Published on 2011-01-01T18:41:01Z Indexed on 2011/01/01 18:53 UTC
Read the original article Hit count: 195

Filed under:
|
|
|

C and C++ are different languages, blababla we know that.

But if those language are different, why is it still possible to use function like malloc or free ? I'm sure there are all sort of dusty things C++ has because of C, but since C++ is another language, why not remove those things to make it a little less bloat and more clean and clear ?

Is it because it allows programmers to work without the OO model or because some compilers doesn't support high-level abstract features of C++ ?

© Stack Overflow or respective owner

Related posts about c++

Related posts about c