Do you think it's worth learning C before C++ or just take the plunge and jump to the superset?
Do you think it's worth learning C before C++ or just take the plunge and jump to the superset?
It is good to know both of course but picking one and sticking with it is the most important thing. C is easier to learn than C++ because their are less features in C. It's really up to you heh. Not sure if it is worth learning C before C++ though, the creator of C++ says it is not, but hey that's just his opinion
Thats something you will have to decide on your own. Some say its easier to learn C then C++. Others say its pointless to learn C because its notused as much as C++. Others say that its harder to learn C then C++ becuase even though the syntax is a lot alike, there are differences in the way things are done. I say, dont depend on someone else making that decision for you, if you have time, learn both, it will only help you later.
just go right into C++. For all intents and purposes once you've learned C++ you will have learned C as well (you'll be able to read and understand C code if you can read and understand C++ code).
If you don't have a problem learning them both, just learn whatever you need to learn, or whatever you are being asked to learn, otherwise learn them.
none...
Depends. C is used in Embedded systems alot more than C++. In either case, I find that I use C-compatible code with C++. I think that its best to try to keep your syntax portable within both languages. But you make up your own mind.
>Do you think it's worth learning C before C++ or just take the
>plunge and jump to the superset?
C and C++ are different language. If you want to learn C, then learn C, if you want to learn C++, then learn C++.
they're different, but very close one to each other, not for joking is called c++ and even not for joking c++ is a superset of c. My opinion, learn C before, C++ isn't so easy (neither C).
>My opinion, learn C before, C++ isn't so easy (neither C).
The languages may look a lot like eachother and yes, C++ has a basis in C, but the main difference is not the languages itself, but the use of it. C++ is usually used to do object oriented programming and C is usually used to do procedural programming. So learning a programming language is not only just learning the language, but also learning a way of programming. That is the reason why, in my opinion, C++ and C are quite different languages.
[edit]
>Or you could skip both of them and learn Java.
Java is a nice language. You can skip whatever language you like and learn some language. Just do the thing you like to do most.
[/edit]
Last edited by Shiro; 04-02-2003 at 11:59 AM.
Shiro, you're correct man, of course they're differents, I'm just trying to show that some people think that learning C is wasting time, and goe's learning C++ without knowing what's programming, maybe I'm not someone with a little bit experience to talk, but, for me at least, learning C isn't waste of time, I really like it.
I would reccommend that you learn C++ and don't bother w/C unless you have alot of time on your hands. C++ is basically a better C w/OOP and some other features. Plus I've heard that those who learn C before C++ have a hard time learning C++ cuz what is considered "good" programming practice in C is "bad" for C++.
L33t sp3@k sux0rz (uZ it t@k3s 10 m1|\|ut3s 2 tr@nzl@te 1 \/\/0rd & th3n j00 h@\/3 2 g3t p@$t d@ m1zpelli|\|gz, @tr0(i0u$ gr@mm@r @|\|d 1n(0/\/\pr3#3|\|$1bl3 $l@|\|g. 1t p\/\/33nz j00!!
Speling is my faverit sujekt
I am a signature virus. Add me to your signature so that I may multiply.
I would recommend Java over both of them.
>>> recommend Java over both of them.
Yes, you would, however, the original questioner was asking if he should learn C before learning C++, so it is not a helpful suggestion really is it?
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Maybe he hasn't been exposed to Java. Maybe he's only heard the blind acceptance of C/C++ by you folks. Maybe he should skip C and C++ to learn a language designed for OOP. Maybe, oh just maybe...Originally posted by adrianxw
Yes, you would, however, the original questioner was asking if he should learn C before learning C++, so it is not a helpful suggestion really is it?
C++ is not designed for OOP?!? Last time I checked it was.Originally posted by CompiledMonkey
Maybe he should skip C and C++ to learn a language designed for OOP.
We aren't "blindly accepting" C/C++. We're merely answering his question w/o straying off topic.
Maybe he's only heard the blind acceptance of C/C++ by you folks. Maybe, oh just maybe...
And has it ever occurred to you that maybe he DOES know about Java, and chose to do C/C++ anyway? Maybe oh maybe...
L33t sp3@k sux0rz (uZ it t@k3s 10 m1|\|ut3s 2 tr@nzl@te 1 \/\/0rd & th3n j00 h@\/3 2 g3t p@$t d@ m1zpelli|\|gz, @tr0(i0u$ gr@mm@r @|\|d 1n(0/\/\pr3#3|\|$1bl3 $l@|\|g. 1t p\/\/33nz j00!!
Speling is my faverit sujekt
I am a signature virus. Add me to your signature so that I may multiply.