C and C++
Hi guys, i have been looking around at C++ recently and have come through a few articles comparing C and C++. I Know C and a little bit of C++. I am basically working and going to work on 'not big projects/application', maybe some security applications.
Anyway, i would like to know if i should learn and use C++ instead of C?
Is there any good link comparing C and C++ (comprehensively and not biased of course)?
I would put it as this:
Use C++ if you can, C second-hand.
What you might need to consider is if there is a C++ compiler for the target you are targeting.
The reason is that C++ is an extension of C, and can do all that C can, and more, making it a logical choice for most applications that need speed and flexibility.
Of course, if you want to find a language that you're most interested in, then know that C works at very low level, and C++ usually works at a higher, abstracted level with lots of already working tools (such as vector) to simplify memory management and such.
Do you have any links or something like that? I want to know in more details.
C vs C++
Originally Posted by valthyx
C C++ differences
C C++ compare