NJ5 said:
More strict type checking, yes. But those things are very quick to solve and mostly occur on poorly-written code, which is why almost everyone says C is essentially a subset of C++. I hope we agree on that because it not only makes sense, but it's the generally held opinion (the quote I posted is from the guy who invented C++). The fact stands that whoever knows C++, knows C. I know what you meant by speed. But a good C++ compiler will compile well written C code to be as fast as generated by a C compiler. There's no reason for C++ to be necessarily slower than C other than a lower-quality compiler or using non-C features.
|
ok this is what i have been trying to say: from the compiler point of view it is a subset, because is compatible on a c++ compiler, but to someone learning is not true, he will get confused. i dont think that someone that knows c++ knows c, different memory allocation, different use of strings, etc. I want to see some beginner that only knows C++ Compaling in a C compiler.
dd if = /dev/brain | tail -f | grep games | nc -lnvvp 80
Hey Listen!







