View Poll Results: Which should I learn and why?

Voters
34. You may not vote on this poll
  • C

    6 17.65%
  • C++

    28 82.35%

Thread: C++ or C

  1. #16
    Registered User SubLogic's Avatar
    Join Date
    Jan 2003
    Posts
    33
    C++ Rules!
    Hehe, I always tought that since the day I tried C++, though I never tried C in my life. Lol.
    0100001

  2. #17
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Will it be more difficult to learn C++ instead of C? I look at some of the syntax and it looks a little off the wall sometimes.

  3. #18
    Registered User Cela's Avatar
    Join Date
    Jan 2003
    Posts
    362
    >>Will it be more difficult to learn C++ instead of C?
    If you learn C++ the right way then no, C++ is more intuitive than C when it comes to using it. It's like Perl, it looks like gibberish until you learn what it does and then it's obvious, and learning it is easy. :-)
    *Cela*

  4. #19
    Registered User PotitKing's Avatar
    Join Date
    Dec 2001
    Posts
    28

    I disagree

    I think that you should learn C, since you're familiar with linux. In the linux world, it's useful to know C, since it's widely used. There are tons of code to read, and to study the code of programs, which is mainly written in C, wouldn't be a waste of time.
    % gcc -v
    Configured with: FreeBSD/i386 system compiler
    Thread model: posix
    gcc version 3.3.3 [FreeBSD] 20031106

  5. #20
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Originally posted by Cela
    >>Will it be more difficult to learn C++ instead of C?
    If you learn C++ the right way then no, C++ is more intuitive than C when it comes to using it. It's like Perl, it looks like gibberish until you learn what it does and then it's obvious, and learning it is easy. :-)
    He's right, C++ is much easier expecially if you learn C++ before learning C, because the code it's more readable.
    none...

  6. #21
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by Polymorphic OOP
    No, it's not.

    While it can be arguable to call C a true subset of C++, C++ is in no conceivable way a subset of C.
    i agree; and if you're interested in reading a little tiny bit more, bjarne stroustrup's website has more
    hello, internet!

  7. #22
    people complain about C++ being difficult and all, I never had any problems. And it's the first language I really took any interest in. I used C for about 3 months b4 C++, simply because I didn't know C++ existed, and Wolfenstein 3D's engine was written in C/ASM and the only reason I was using C was for Wolfy. It's pretty weird too, I actually taught myself how to program b4 reading one single thing about it. I just looked around in the code and saw stuff like for statements, and I looked at how they are all setup, and basically figured out all by myself how they worked. Then I got the internet, and it opened up a new world to me. I started C++ and I was truly happy. And I still am.

  8. #23
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >Will it be more difficult to learn C++ instead of C?

    It is a more complex language and has more facilities than C, but it doesn't necessarily have to be more difficult, but it probably will take longer to learn it.

  9. #24
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    I started by going through "C in 21 Days", then "C++ in 21 Days". This was NOT necessary. As I recall, I used a C++ compiler for both (without changing any settings).

    There was SOME benefit to working through both books: The C book actually has 28 chapters... a "Bonus Week". And, there's information left-out of the C++ book to make room for the C++ specific stuff. Also, learning about classes was easier after learning about C structures. (C++ is my first OOP language.)

Popular pages Recent additions subscribe to a feed