Why c++ is still being used today

Hi, just want to ask why c++ is still being used today? what could be the main reasons why c++ is still widely used and preferred by many programmers?
Because it's really useful and very powerful.
Popularity fueled by popularity.
abundance of learning resources available everywhere anytime
If you already knew the answer, why are you asking the question?
Why are you asking the question why is he asking the question?
Because I want to know.
I want to know what love is!
I want you to show me!
Edit: double post.
Last edited on
closed account (zb0S216C)
ksamion wrote:
"Hi, just want to ask why c++ is still being used today?"

Because C++ has great potential for developing fast, efficient, and powerful code.

ksamion wrote:
"what could be the main reasons why c++ is still widely used and preferred by many programmers?"

The same reasons as above. The main reason why it's still used, in my opinion, is that it lacks the dreadful garbage collection system, which increases performance by a notable amount. Not only that, C++ is capable of developing cross-platform code without dependencies (like C# and the .NET Framework, and Java and the Java Run-Time Environment)

C/C++ is the best language I've come across.

Wazzak
Last edited on
There is a great response, albeit lengthy, at:
http://channel9.msdn.com/posts/C-and-Beyond-2011-Herb-Sutter-Why-C

Personally, I like it because it is something I have a long history with. I do embedded programming mostly so performance per watt and per transistor is very important to me. The language is also extremely mature and still maturing so most any modern language construct/technique is available in C++ to some extent. See the C++11 standard at http://en.wikipedia.org/wiki/C%2B%2B11 The fact that many of the other languages are derived in some way from C/C++ means that many of the other modern languages can be simpler to learn because of a C++ background (of course sometimes it can also be a source of confusion). There are no perfect languages, but C/C++, for me, has by far the most utility in most situations.
Moschops
If you already knew the answer, why are you asking the question?

Because as a beginner in c++, resources may not be enough to make it the most preferred language by many experts.

As mentioned by Framework and Ramanajan, c++ strength and performance could be its major factor why it is still widely preferred.
Because as a beginner in c++, resources may not be enough to make it the most preferred language by many experts.

I guess it's preferred because of its low-levelness, err I mean power, which is neck and neck with C's, and also because of its popularity; which means a lot of smart people already wrote valuable code that you can reuse.

Anyway, I'll just leave these here...

http://archive.adaic.com/intro/ada-vs-c/cppcv3.pdf
http://yosefk.com/c++fqa/
http://cppweirdness.wordpress.com/
http://dlang.org/

Edit: code vs quote tags.
Last edited on
Isn't cross-platform also a reason?
closed account (zb0S216C)
CoryMore wrote:
"Isn't cross-platform also a reason?"

It's already been stated:

Framework wrote:
"Not only that, C++ is capable of developing cross-platform code without dependencies"


Wazzak
Topic archived. No new replies allowed.