Published using Google Docs
Report abuse
Learn more
C and C++
Updated automatically every 5 minutes
C++ is not a superset of C.
C++ does not deprecate C.
C will continue to be used for the foreseeable future.
C will be around a lot longer than C++.
By virtue of its use in kernels, system APIs, most other language implementations.
Due to its inertia as the first bootstrapped language above assembly on any platform.
C is more popular than C++.
http://lang-index.sourceforge.net/
http://langpop.com/
There is nothing that C can accomplish that C++ cannot, and vice versa.
C is ABI compatible with C++, but not API compatible.
C++ is not even ABI compatible with itself.
Each language can make assumptions during compilation the other cannot, and as such vary slightly in performance in different situations.
There IS an upcoming standard for C.
The new C++ standard has NOT yet been fully implemented.
Mainstream C compilers have NOT yet fully implemented C99.
C++ is able to sacrifice time, space and memory use for slight performance gains on occasion.
C
has a niche
, C++ contends with a multitude of alternatives, including C.
C++ is not a panacea, C is the closest thing we have to it.
Templates do not completely replace macros.
Some people do prefer C to C++.
C is easier to parse and understand than C++.
C is easier to learn than C++.
C is easier to implement than C++.
C has an accepted ABI, C++ does not.
C is more portable than C++. (Those things you're about to mention are system interfaces, and nothing to do with C).
C++ inherits all the shortcomings of C, but C inherits none of the shortcomings of C++.
C is an excellent choice for new projects, because it is the most widespread and easily implemented, best supported, portable language there is.
C++ is not always better than C.
Links
http://www-cs-students.stanford.edu/~blynn/c/ch07.html
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
http://www.simson.net/ref/ugh.pdf
http://yosefk.com/c++fqa/
http://harmful.cat-v.org/software/c++/linus
http://www.youtube.com/watch?v=5kj5ApnhPAE