Results 1 to 4 of 4
why before you going to study C++ programming language everyone requires that you need to know c language
C++ is a complete language ,i don't see something in common between ...
- 02-12-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
Need C Language to Learn C++?
why before you going to study C++ programming language everyone requires that you need to know c language
C++ is a complete language ,i don't see something in common between C and C++
only data types and basic things
- 02-13-2011 #2Just Joined!
- Join Date
- Dec 2009
- Location
- Maryland, USA
- Posts
- 83
Who everyone requires you to know C before learning C++? That has not been my experience, though I never tried to take C++ in a formal setting. There are plenty of resources on the internet for learning C++, and knowing C is not a prerequisite.
- 02-13-2011 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 12
C++ is an extension of C, so when you learn C++, you actually learn the plain old C (with very minor differences), and the newer object-oriented ++ of it; that is to say, you can't learn C++ without learning basic C, simply because one is contained within the other.
However, almost all books and tutorials about C++ cover C first when they deal with data types, flow control, functions and pointers (even if they don't mention it's C), so you shouldn't be concerned.
- 03-03-2011 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,956
C and C++ programming are very different mindsets. C is a functional language, and C++ while it can handle C code is much more an object-oriented language where you should be thinking about classes of things and how they behave. Personally, after 30 years programming in both language, and writing VERY complex code in both (I did a clean-room implementation of TCP/IP in C from the DDN Protocol Whitebook, and wrote a major distributed transaction processing framework in C++), I have to say that I prefer C++ because that is how my mind works. That said, I still program in C to write device drivers for Solaris and Linux, but for application code I will always use C++ because I can write cleaner, more concise, and more robust code.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
