The creator of C++ Bjarne Stroustrup says that "C++ is an extension of C" and "C++ could be considered a superset of C. C programs will run in C++ compilers."
http://www.hitmill.com/programming/cpp/cppHistory.html
http://www.hitmill.com/programming/cpp/whatiscpp.html
He also wrote that "C++ is a better C" and has this in his FAQ:
"It is not uncommon to be able to convert tens of thousands of lines of ANSI C to C-style C++ in a few hours. Thus, C++ is as much a superset of ANSI C as ANSI C is a superset of K&R C"
(http://www2.research.att.com/~bs/bs_faq.html)
Bookmarks