|
|
|
|
|
by pinealservo
4500 days ago
|
|
The core semantics of the two are kept in close correspondence as new versions of the standards come out. There are a few points where C and C++ disagree on things that they have in common, but C programs will almost always compile as C++. |
|
Someone joked by saying, it's like using JavaScript as the easier Java... Well... I get the idea, but C can compile with C++ programs, making it much more of a subset of C++, which I can re-use. That makes it a "no cost" tool to fall back on, when C++ is not available/possible.
They are very compatible tools! :)