Thread: K&R for C++ ?

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    589

    K&R for C++ ?

    As we all know K&R wrote a really good, easy to read book that explained the C languish. What book could be said to do the same thing for C++. I don't really think that Bjarne Stroustrups book qualify to be the C++ bible because it is pretty hard to understand. The K&R you can start to read as a begginer but that is not the case woth Bjarne S book. So what book would you say is the C++ bible.The book that everyone programming C++ from beginer to professional must have.
    Last edited by Barjor; 04-09-2002 at 09:15 AM.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    C++ - How to Program - Deitel

    That's a pretty good complient book........

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I don't really think that Bjarne Stroustrups book qualify to be
    >the C++ bible because it is pretty hard to understand.
    So one should read it again and again until they understand. Stroustrup's book IS the C++ bible and offers very valuable insights into the usage of the language as well as why it was designed as it was. K&R was short and sweet because it is a presentation of the syntax for C, which is also short and sweet. C++ is considerably more complex and likewise warrants a more complex presentation.

    -Prelude
    My best code is written with the delete key.

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >don't really think that Bjarne Stroustrups book qualify to be the
    >C++ bible because it is pretty hard to understand

    So a book must be easy to understand to be a bible? An easy to understand C++ book is a beginners book, an introduction to C++.

    Stroustrups book is a must have for beginners as well proffessionals. It's hard to read for beginners, but when their knowledge and experience with the language increases, they will notice the book is getting an excellent reference more and more.

    Knuth's "The art of programming" isn't very easy, though it is the bible on programming.

  5. #5
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Ok I can see that the argument that it needs to be easy to read doesn't fly. After all C++ contains alot more then C.

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Yes, C++ is more complex than C and that's why it harder to learn than C. C++ programming also requires a different way of thinking. In my opinion a 'language bible' should cover the whole language, cover important programming techniques and should provide quite in-depth knowledge, which is needed to really understand the language.

    But I agree that Stroustrup's book can be quit demotivating for beginning C++ programmers, especially if they are beginning programmers, i.e. don't have any programming experience and knowledge.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. K&R problem page
    By Blur in forum C Programming
    Replies: 4
    Last Post: 08-31-2005, 09:38 AM
  2. K&R question
    By caduardo21 in forum C Programming
    Replies: 1
    Last Post: 08-18-2005, 07:14 PM
  3. K&R problem !! String concatenation :(
    By karanmitra in forum C Programming
    Replies: 9
    Last Post: 08-18-2005, 05:20 AM
  4. concatenate two strings! K&R problem
    By karanmitra in forum Linux Programming
    Replies: 2
    Last Post: 08-09-2005, 10:44 AM
  5. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM