Thread: have to learn this stuff...

  1. #16
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    As for the two versions, you could read both. The first edition covers quite a few topics, while the second goes into more depth (i think, haven't really read either yet, some of the first one) and the second also discusses a few more topics not covered in the first edition. There is a brief explanation in the beginning of each book explaining what is covered in each book and what is covered in the other edition.

  2. #17
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I think I'm just going to get the 2nd edition and go with that. Unless someone has a reason why I shouldn't?!
    EntropySink. You know you have to click it.

  3. #18
    Registered User
    Join Date
    Sep 2002
    Posts
    272
    >What's the point of using C++ if you're not doing OOP? Why not just use C in that case?<

    Stronger type checking; extended standard library; more compiler support for generics; to name a few reasons why you might.
    Joe

  4. #19
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Not to mention templating!

  5. #20
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    Originally posted by ober5861
    I think I'm just going to get the 2nd edition and go with that. Unless someone has a reason why I shouldn't?!
    Calm down there, Ober. Here's a link for ya. http://www.codecuts.com/mainpage.asp?WebPageID=315
    That'll take you straight to where you can download the free pdfs for volumes one and two. Start with volume one. Volume one begins by explaining OOP. After you've read volume one, read volume two.
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

  6. #21
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    >What's the point of using C++ if you're not doing OOP? Why not just use C in that case?<
    C++ is not a "true" OOP language like Smalltalk, Eiffel, Modula-3 or even Java. It is a "hybrid" language. I.e. it is a procedural language with built in OO support.

    Therefore it is perfectly legitimate to write procedural style applications in C++. As others have already mentioned you have stronger type checking, templates and the STL which makes C++ a great programming tool whether or not your exploiting the OO aspects of the language.

    Basically C++ encompases two different programming paradigms - both are legitimate within the defines of the C++ language.

    Probably the greatest pitfalls for an ex C programmer comming to terms with the OO aspects of C++ is inheritance and polymorphism. They are not always as intuitive as one would hope.
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Looking to learn C++
    By Fuzzy91 in forum C++ Programming
    Replies: 40
    Last Post: 04-13-2006, 02:38 AM
  2. Book for Newbie trying to learn C
    By uthscsa19 in forum C Programming
    Replies: 23
    Last Post: 12-24-2005, 11:02 AM
  3. Can you actually learn c++ in 21 days?
    By Raeliean in forum C++ Programming
    Replies: 14
    Last Post: 07-27-2005, 03:41 PM
  4. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 10:33 AM
  5. Your stuff
    By smog890 in forum C Programming
    Replies: 6
    Last Post: 06-13-2002, 11:50 PM