c++ books

This is a discussion on c++ books within the C++ Programming forums, part of the General Programming Boards category; I am a computer science major and I have been programming in java for 3 year. Does anyone know a ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    2

    c++ books

    I am a computer science major and I have been programming in java for 3 year. Does anyone know a good book to learn c++ for me?
    thanks

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,045
    Search the board for "good book".
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    It depends on how much time you want to commit to learning it.

    1) Easy overview: "C++: A Beginner's Guide"

    2) More challenging but relatively short: "Accelerated C++"

    3) Comprehensive, challenging, and well written: "Ivor Horton's Beginning C++" (skip the binary operator section in Chapter 3, which in my opinion is too challenging for beginners).

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    7,317
    Accelerated C++ is recommended by many C++ experts, especially for someone who has been programming already. It teaches C++ style C++ instead of C style C++. Look at that one first.

    C++ Primer is also commonly recommended by C++ experts.

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,045
    Sams Teach Yourself C++ in 21 Days is commonly un-recommended.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6
    Registered User
    Join Date
    Sep 2005
    Posts
    15
    Beginning C++ Game Programming is extremly good and a C/C++ Programming refrence third addition is great as well

  7. #7
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,528
    As Dwks alluded to, this is a topic that comes up an awful lot. There is a link to the ACCU book reviews section in the FAQ. Unfortunately, it is buried in the FAQ > Other references > Misc reference sites section. There is also a small book review on this site (on the left hand navigation bar of the main FAQ page.

    @ The mods

    Since this question comes up so often, is there any chance of having the FAQ modified so that the two links to the book reviews could be made a little more conspicuous?

  8. #8
    60% Braindead
    Join Date
    Dec 2005
    Posts
    379
    I havent read to many C++ books, but try C++ without fear by Brian Overland. It explains alot of code, and it also explains some stuff onhow your cpu interprets code.

  9. #9
    xhi
    xhi is offline
    !anExpert
    Join Date
    Mar 2005
    Location
    pa
    Posts
    155
    "thinking in c++" by bruce eckel is an excellent reference.. check out vol 1 and 2..

    it is easily found with a little searching..

  10. #10
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    As Dwks alluded to, this is a topic that comes up an awful lot. There is a link to the ACCU book reviews section in the FAQ.
    I've seen many, many recommendations for Sam's Teach Yourself C++ in 21 days. Personally, I started with that book and then threw it in the trash after a few chapters. However, several newer editions have been published since the time I purchased it, so maybe it's been improved and the people that recommend it know what they are talking about.

    However, if you read enough of these threads you will realize that every book is recommended by someone, and every book has its detractors.
    Last edited by 7stud; 12-30-2005 at 08:20 PM.

  11. #11
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Quote Originally Posted by yzrider
    I am a computer science major and I have been programming in java for 3 year. Does anyone know a good book to learn c++ for me?
    FWIW
    Last edited by Dave_Sinkula; 12-30-2005 at 08:40 PM.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  12. #12
    Registered User
    Join Date
    Jan 2005
    Posts
    7,317
    >> FWIW

    Consider adding C++ Coding Standards to that list. It is by Sutter and Alexandrescu, and has an excellent compilation and mini-discussion of many of the topics discussed in greater detail in the other books. It is not a coding standards book, but rather a guide to best practices in C++ code and would fit perfectly as an introduction or summary of many of the other books on that list (after Accelerated C++).

  13. #13
    Registered User
    Join Date
    Jul 2005
    Posts
    2
    thanks for all the replies

  14. #14
    Registered User xxxrugby's Avatar
    Join Date
    Jan 2005
    Posts
    178
    Demistyfied C++
    Sorry for spelling errors, not English!
    xxxrugby: "All Human Race Will Die From My Hand!"
    xxxrugby: "We are all philosophers, when question is about politics!"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What are some good books on C?
    By php111 in forum C Programming
    Replies: 9
    Last Post: 10-01-2008, 06:16 AM
  2. C++ Books
    By Darklighter in forum C++ Programming
    Replies: 8
    Last Post: 01-03-2006, 06:13 PM
  3. Reference Books at Work and Home
    By kuphryn in forum Tech Board
    Replies: 2
    Last Post: 05-20-2004, 05:59 AM
  4. Good books?
    By Unregistered in forum C++ Programming
    Replies: 14
    Last Post: 02-10-2002, 12:58 PM
  5. Books Books Books
    By aresashura in forum Game Programming
    Replies: 5
    Last Post: 12-28-2001, 08:08 PM

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