-
December 19th, 2013, 06:30 AM
#1
C Vs C++
I am working on Php, so I do not now know much about C or C++
What are the advantages of using C over C++?
-
December 19th, 2013, 08:34 AM
#2
Re: C Vs C++
IMHO, only if your compiler cannot compile C++ code.
Victor Nijegorodov
-
January 9th, 2014, 10:53 AM
#3
Re: C Vs C++
If you are doing standard programming, then you are likely going to want to use C++ instead of C. C++ is object oriented and thus a bit more modern than C. C is not object oriented. C is often used in education (to learn programming) as well as used in embedded programming.
Brad!
Shameless plug: My book just had a new edition release on C programming: Teach Yourself C in an Hour a Day is the latest edition. You'll find it on Amazon! You can also find a C++ book under the same series, which is most recently updated by a CodeGuru member as well.
-----------------------------------------------
Brad! Jones,
Yowza Publishing
LotsOfSoftware, LLC
-----------------------------------------------
-
January 12th, 2014, 12:21 PM
#4
Re: C Vs C++
Originally Posted by kevin619
What are the advantages of using C over C++?
There's just one advantage of C over C++ and that's portability. If only one high level language is supported on a computer system then that language is C. And if many languages are supported then one of them is C. C is truely everywhere.
So would I recommend C?
No. C++ is an extension of C and this extension outweights by far the extreme portability of C which you most likely won't need. It's the extension that makes C++ a modern language in league with Java and C#. And C++ is very portable too.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|