Thread: Please recommend me a good C++ book

  1. #1
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472

    Please recommend me a good C++ book

    I went to the library 2 days ago to buy a C++ book , but i found lots of books that seem very good and left the place confused. Then i came back to home and went to Amazon to read readers reviews but most of them didn't make sense or apparently weren't fair.

    so... here are the top 2 C++ books i found :
    1. Ditel & Ditel : C++ how to program.
    2. C++ from ground up.


    there are many others , but only these two apply to the latest C++ standard (i guess). so what do you think??

    If you've learned\read from any other books wich seemed pretty simple and clear to you , please list their names..

    thanks in advance.
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    There is always 'The C++ Programming Language' by Bjarne Stroustrup. In case you don't know, he is the one who created the language.

    http://www.amazon.com/exec/obidos/tg/detail/-/0201700735/qid=1085772823/sr=1-1/ref=sr_1_1/103-1491301-0563857?v=glance&s=books
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    There is not "best book" to learn C++ from. The two you mention have their supporters as do:

    Teach Yourself C++ in 21 days by Liberty
    Accelerated C++ by Koenig and Goo(?)

    among others. If you found one that you found easy to read, etc., go for it. If you find yourself interested in C++ I suspect very strongly you'll end up with several books, maybe even more than one "beginners" book, eventually.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Do you have any experience in C++?

    Kuphryn

  6. #6
    Registered User New001's Avatar
    Join Date
    May 2004
    Posts
    6
    There are a lot of books out there to choose from.
    The one I have is "C++ programing for the absolute beginner"
    I would recomend this one.

  7. #7
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Two that I liked are:

    "The Complete Idiot's Guide to C++" which assumes you don't know how to program at all.

    "Game Programming All-In-One" which teaches you C++, then the Win32 console, and finally DirectX.

  8. #8
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    Last time I suggested a book, I also advised against other books which cause some guys to get angry. So this time I will only suggest "C++ Primer Plus" by Stephen Prata.

  9. #9
    Registered User big146's Avatar
    Join Date
    Apr 2003
    Posts
    74
    Deitel C++ How To Program would be the choice out of those two books.It assumes you have no experiance and teaches you with complete apps.Do not get any books from bjourne at this stage of the game.His is not a book for beginners. Check out this site.
    www.deitel.com.

  10. #10
    Registered User dalek's Avatar
    Join Date
    May 2003
    Posts
    135
    "C++ Primer Plus" by Stephen Prata.
    'The C++ Programming Language' by Bjarne Stroustrup
    I second these. Both very good.

  11. #11
    Registered User xion's Avatar
    Join Date
    Jul 2003
    Posts
    63
    i have robert lafore's object-oriented programming in C++. i had no experience in C++ and it starts you out quite nicely. the exercises are nice, states clearly what the book wants you to code. the only thing about this book is the exercises at the end of each chapter are sometimes too easy. it doesnt challenge programming logic like i want it to.

  12. #12
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    I'm using "C++ How To Program" by Deitel & Deitel.

    Best Regards,
    Yeoh
    --

  13. #13
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    I forgot to mention that im a C programmer. D&D is quite expensive but looks worth the money.

    Thanks alot for the replies MrWizard , elad, Salem , kuphryn, new001,Frobozz , Skorman00, Big146 , Dalek, xion and yeohhs

    and sorry for the late reply.
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  14. #14
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    Ah! You're a C programmer!!!

    You might take a look at Teach Yourself C++ in 21 Days, by Jesse Liberty. But, it might be too simplistic for you... He likes to make "dog" and "cat" classes. You could probably burn-thru the book in a week. It would give you a good introduction to objects & classes, and also introduce you to some of the "new" things in C++.

    The C++ Standard Library, by Nicolai M. Josuttis doesn't cover the entire C++ library, but he does completely cover the C++ Standard Template Library. The STL includes the C++ container classes (Linked Lists, etc.). The STL is "the other" major improvement to the C language (besides classes and objects). Josuttis also covers C++ strings (You don't have to use character arrays in C++), and some of the other features that are not included in C.

    Thinking in C++, by Bruce Eckel is another book to consider. The author expects you to know C. You can download PDF copies of both volumes FREE! Or, you can purchase hard-copies.

    I don't believe there are any complete reference books for the C++ language, but Dinkumware.com has an online reference that covers ALL of the functions in ALL of the standard C++ header files, which you can access freely on the net. Or, you can download the HTML file for about $20.00. Hang-on to your Kernighan & Ritchie book.. All that stuff still works in C++. (I just assume that every C programmer owns the "K & R" book. )

  15. #15
    Registered User
    Join Date
    Jun 2004
    Posts
    14
    I own a good portion of the books listed above by members... but i always return to my Deitel&Deitel book for reference. Please note that does not make it the best book for newbies... try Learn C++ in 21 Days

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Good book to learn C from?
    By jcw122 in forum C Programming
    Replies: 5
    Last Post: 10-09-2004, 03:25 PM
  2. Is Sedgewick's a good book to follow?
    By anoopks in forum C Programming
    Replies: 3
    Last Post: 04-05-2004, 08:59 PM
  3. A good exercises book for C++
    By buffalo in forum C++ Programming
    Replies: 2
    Last Post: 01-20-2004, 12:32 PM
  4. I'm looking for a good book on 3D game programming
    By Music_Man in forum Game Programming
    Replies: 2
    Last Post: 09-09-2001, 09:29 PM
  5. Looking for a good book on 3D game programming
    By Music_Man in forum C++ Programming
    Replies: 2
    Last Post: 09-09-2001, 09:28 PM