> iostreams are significantly slower than C streams <
Most are, but the SGI iostreams which I have used are much faster.
Type: Posts; User: Zach L.
> iostreams are significantly slower than C streams <
Most are, but the SGI iostreams which I have used are much faster.
The technical term they use for C++ is 'multiparadigm'. In other words, you can mix programming styles (OO and procedural) so that each is used to where it is stronger than the other style.
I've worked with small processors (Motorola I believe) that used C interpreters, because in the application they were used in, there was not much room for extra memory, so the size of the language...
C has its uses. C is a smaller language than C++, and is therefore more usable on machines with very little memory. This isn't a huge strength, but it is one.
> Each programming language is a tool.
The more tools you have in your belt, the better and faster you can get things done. <
Excellent point. Thats why the old "whats the best language" argument...
> Everything which can be done in C++ using the OOP concept can be done in C... <
And those C programs are most likely also C++ programs.
The code will be faster, the programming process won't. ;)
Large object-oriented programs are generally easier to understand, and therefore maintain than large procedural programs. C++ is also more type safe than C. The speed difference between C and C++ is...