radha said:
Thats not all, C++ has a more strick type check and some types on C wont compile on C++. and when i say speed i mean at low level of course, since thats mostly the main use of C now days.
|
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.
My Mario Kart Wii friend code: 2707-1866-0957







