4 ms·
Define "powerful". Do you mean expressive power? If yes, I'm calling bullshit because C++ has all of the following (off the top of my head, and I won't even men
by 10098 13y ago
Define "powerful". Do you mean expressive power? If yes, I'm calling bullshit because C++ has all of the following (off the top of my head, and I won't even mention any OOP-y features):
1. Templates
2. Template-based standard library
3. Lambda expressions
4. std::bind
all of which make C++ much more expressive than C.
In terms of performance "power", there's almost no difference. Sure, calling a virtual method is slower than calling a function in C, but you don't have to "pay" for it with performance if you don't use it.
EDIT: god-dang formatting