Learning C or C++ ?

This is a discussion on Learning C or C++ ? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Do you think it's worth learning C before C++ or just take the plunge and jump to the superset?...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    21

    Learning C or C++ ?

    Do you think it's worth learning C before C++ or just take the plunge and jump to the superset?

  2. #2
    .........
    Join Date
    Nov 2002
    Posts
    303
    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

  3. #3
    eh ya hoser, got a beer? stumon's Avatar
    Join Date
    Feb 2003
    Posts
    323
    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.

  4. #4
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    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).

  5. #5
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    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...

  6. #6
    Xei
    Xei is offline
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    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.

  7. #7
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >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++.

  8. #8
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    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).

  9. #9
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >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 10:59 AM.

  10. #10
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    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.

  11. #11
    ! |-| /-\ +3 1337 Yawgmoth's Avatar
    Join Date
    Dec 2002
    Posts
    187
    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.

  12. #12
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    I would recommend Java over both of them.

  13. #13
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> 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.

  14. #14
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    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?
    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...

  15. #15
    ! |-| /-\ +3 1337 Yawgmoth's Avatar
    Join Date
    Dec 2002
    Posts
    187
    Originally posted by CompiledMonkey
    Maybe he should skip C and C++ to learn a language designed for OOP.
    C++ is not designed for OOP?!? Last time I checked it was.


    Maybe he's only heard the blind acceptance of C/C++ by you folks. Maybe, oh just maybe...
    We aren't "blindly accepting" C/C++. We're merely answering his question w/o straying off topic.

    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.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Machine Learning with Lego Mindstorms
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-30-2009, 01:34 PM
  2. Best Approach for Learning
    By UCnLA in forum C Programming
    Replies: 5
    Last Post: 03-21-2008, 02:35 AM
  3. Need Help On a Simple Bank Program
    By oobootsy1 in forum C# Programming
    Replies: 9
    Last Post: 08-08-2005, 10:51 AM
  4. Fun Learning a New Language
    By UnregdRegd in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-30-2003, 10:03 PM
  5. Learning Rate Of C++
    By Krak in forum C++ Programming
    Replies: 27
    Last Post: 01-29-2003, 12:53 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21