Thread: C++ Book Recommendations

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    19
    C++ For Dummies

    It sounds like its really lame... and at first it is because it spends about err.. 15 pages on what a variable is and how to declare one (not even going into datatypes)... but after a while it really picks up (infact at the end it goes a mile a minute), and it covers all the basics of every field, if you're a new programmer looking to get started, this is for you. Its also good for anyone who learned a prior language such as QB or VB.

    Special includes:
    .net programming
    a special section on the official microsoft compiler (forget what it is)
    a cd with several out of date (but extremely useful if you get the new versions) programs. Such things include a compiler, debugger, graphics library (I think) and a whole string of other more useless programs. The compiler though is a score, devcpp (or maybe it was devc++.. do a search) it has a whole bunch of built in and really useful functions that come in handy, such as System("pause"), which takes you to a "press any key to continue" type screen, and System("cls"), which clears the screen.

    One drawback (if your a #@$&^ mac user): Most of the programs on the CD are PC only (just like all programs should be.. well except the really bad ones.. oh wait.. that's how it is.. but before I start a mac vs pc debate... the book was good)

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    5
    Beautiful Code edited by Andy Oram & Greg Wilson by O'Reilly Books

    I know I'm a noobie when it comes to programming, but I loved this book. I picked it up at Barnes and Noble a couple weeks ago and it's helped me more than anything else so far. It's a non-language specific book that tries to show the developer how to organize his thoughts to write better code.

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Wow, four pages of book recommendations and not one mention of "The C++ FAQs", by Cline, Lomow, and Girou. Much more material than the online version.

    Also, while not strictly C++, "Refactoring" by Fowler is a must read for any OO programmer, IMO.

    Finally, "Large Scale C++ Software Design", by Lakos.
    Last edited by medievalelks; 04-18-2008 at 02:05 PM.

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I have C/C++ Programmer's Reference from him. Osborne, ISBN 0-07-882367-6.

    I bought this book right after I decided to learn C++ a little over 2 years ago, just as Daved mentioned. As a reference material, the book is incredibly badly put together. The very first problem you have with it is the title as Herbert is actually, for all purposes making no distinction between C and C++. The whole notion of C/C++ Programming Language is a mistake. There is no such thing. But here you have a book author with catch phrases in the cover aiming at newbies, making such reference. A reference that goes beyond the title and spills into the book contents.

    Meanwhile there's very little of C++ on the book. The STL is covered in 6 pages. The C++ I/O system deserves only 8 pages and the old C++ header system is mentioned and deserves a comparatively high 6 pages to describe it in the context of the I/O objects and functions. All these three sections are at the end of the book and are frankly insufficient, giving rise for beginners to write C++ code that is heavily based on C objects, types and functions; a common mistake that this author always ignored on any of his books.

    The book also carries a heavy load of errors, bad advise and mistakes. Some of these that I carried on to this board and only here was I able to slowly start correcting them. Some of them I have noted down on the book and will be more than glad to share if anyone is willing to go through one big post.

    All in all, C/C++ Programmer's Reference by Herbert Schildt was the worst book I ever bought on C++. It was my first so I don't consider it a blooper. Still it serves as an example of what kind of stuff this "World-renowned programming author [...] of many best-sellers" (sic) teaches to those starting programming in C++.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    3
    I got some:
    The complete reference C++ the Third Edittion
    and
    C++ Annotations Version 7.2.0

  6. #6

  7. #7
    Registered User
    Join Date
    May 2008
    Posts
    7
    Hi Guys

    http://www.amazon.com/exec/obidos/AS...950/lynnallain

    I understand that first book C++ Without Fear is recommended for learning this stuff at first. I learend from a book that taught me cout statements, string, functions if then while else do and thats about it. The book is great because it teaches me great and I want books that give me exercises to test out my knowledge, I am wondering if these books let me test my knowledge because I really want to learn C++ and I am off to a very good start and this is what I am doing. I just want to be able to learn this that's all. I am begging to know if I can really learn AND test my skills on the chapters with exercises on these books.

  8. #8
    Registered User
    Join Date
    Apr 2009
    Posts
    1
    I'm closing in on finishing C++ Primer (5th edition). What a wonderfull book, C++ seemed so vague and complex before I got my hands on this. Maybe some of my knowledge of Delphi helped me out tho.

    But, I'm still far from satisfied with my knowledge. Even the author said that the book alone probably won't give me that much knowledge for me to allready be able to make stand-alone GUI applications (or such).

    What do you recommend me as a second book? My interests are not gaming. I would like to get started with something simple, maybe image manipulation, text editing applications etc. Right now I'm more in the mood for some creative books, rather then books that focus on code optmization/similar topics. I thought about that Windows Programming book... but I'm still not sure if that's what I need right now.

  9. #9
    Registered User
    Join Date
    Apr 2009
    Posts
    34

    STL Book Question!!

    I see that the majority of the recommended advanced books have to do with STL. Is STL widely used in the software industry these days? or is it a decaying technology? I just wanted to gather some information before I dig into the books. Thanks!!

  10. #10
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by chiefmonkey View Post
    I see that the majority of the recommended advanced books have to do with STL. Is STL widely used in the software industry these days? or is it a decaying technology? I just wanted to gather some information before I dig into the books. Thanks!!
    STL is widely, but not universally, used. What is more important is to understand templates in general, and perhaps the iterator concept (which is extremely powerful even without STL). A lot of people are rolling their own template algorithms instead of using STL, but STL is a great place to start.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  11. #11
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> I'm not sure why this is the case myself.
    I explained it a little in some posts in this thread. His books are well written and easy to follow for beginners. However, many C++ experts recommend against them because they teach bad practices. Many of the older editions had lots of errors, but even later editions with fewer errors still use examples that many people would consider to be bad or even dangerous.

    Someone new to C++ might think the books are great because they are easy to understand and follow. But someone who is more experienced in C++ might think they are bad because of the bad practices they teach.

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I'm currently looking for in-depth knowledge of boost and template meta programming, so I was wondering if anyone knew any good resources and books on the concepts?

    I've currently found C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond By David Abrahams, Aleksey Gurtovoy and I do understand the basics, but from chapter 3 forward, it's getting mega confusing, so I was wondering if there are any other resources/books about this?

    Second up is boost. It's a great library with lots of promise. I found the book Beyond the C++ Standard Library: An Introduction to Boost By Bj&#246;rn Karlsson which is great, but it doesn't cover so much about boost. There is a great deal yet that lies hidden, just waiting to be explored. So is there any other resources or books about boost?

    I'd be thankful for anything.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  13. #13
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by Elysia View Post
    I've currently found C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond By David Abrahams, Aleksey Gurtovoy and I do understand the basics, but from chapter 3 forward, it's getting mega confusing, so I was wondering if there are any other resources/books about this?
    You might try "Modern C++ Design" by Alexei Alexandrescu. It's more accessible than C++TM, but less in-depth. It uses a very practical approach, by introducing techniques the moment they're needed, with very practical examples.

    Second up is boost. It's a great library with lots of promise. I found the book Beyond the C++ Standard Library: An Introduction to Boost By Björn Karlsson which is great, but it doesn't cover so much about boost. There is a great deal yet that lies hidden, just waiting to be explored. So is there any other resources or books about boost?
    Hardly anything. There's a book specifically about the Boost Graph Library, but a) the library is about to be rewritten, with probably significant interface changes and b) unless you actually need the graph library, there's no point in this.

    I think there's a book about the Regex library, but that one is pretty straight-forward anyway.

    For Boost, I recommend just browsing the library documentation, reading the introduction to every library and then more if you're interested.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  14. #14
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I find it a shame that for such a popular library as boost, there is literally no resources or books. I was afraid I would get that answer, though.
    But thanks for the tips anyway.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #15
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    On Boost I don't think there is. I always used mostly Boost documentation and their excellent mailing lists. But in general I always found the libraries easy to use and rather well documented. The rest ends up being looking at the library code and resorting to the mailing lists on those rare occassions I cant find an answer.

    As for template Metaprogramming I'm currently an avid learner too. I have two books under my belt. Loving them both:

    Addison Wesley (who else?) - C++ Templates: The Complete Guide, by Vandevoord and none other than Josuttis

    (guess who...) - Modern C++ Design, by Andrei Alexandrescu. The book that started it all. It will be your bible and Alexandrescu the Messiah.

    (again...) - The C++ Standard Library: A Tutorial and Reference, by Josuttis makes also a fundamental reading at this point, although for slightly unrelated reasons to do with the STL.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Language REFERENCE book recommendations?
    By DougDbug in forum C++ Programming
    Replies: 5
    Last Post: 03-10-2011, 02:26 AM
  2. any book recommendations?
    By NewnOT in forum Windows Programming
    Replies: 1
    Last Post: 06-21-2009, 02:12 PM
  3. JavaScript book recommendations
    By neandrake in forum Tech Board
    Replies: 2
    Last Post: 04-05-2009, 12:27 PM
  4. C++ Book Editions and Recommendations
    By cpudaman in forum C++ Programming
    Replies: 7
    Last Post: 02-10-2008, 11:52 AM
  5. My book recommendations for rank beginners ...
    By snakum in forum C++ Programming
    Replies: 4
    Last Post: 08-21-2002, 10:38 AM