Thread: C++ Book Recommendations

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    The STL as referred to in threads like this is actually the standard library. It is standard so it works the same in all standards conforming implementations (which means it works the same 99.9% of the time on modern compilers). That is why it is used a lot. Not only is it platform independent, it is implemented in the standard libraries for all conforming C++ compilers.

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

    C/C++ Memory Management Book

    Hi folks,

    I recently got to know that when we use new or malloc to allocate dynamic memory, the allocated memory block gets prefixed with some bytes that contain low level details like the block size, and etc. Which book would you cover this kind of information? I think a general computer architecture book wouldn't cover this sort of C/C++ implementation-specific information. Thanks!!

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I found that Accelerated C++ is all you need as a beginners book. Couple it with others books, and I'm sure it will be a great learning experience.
    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.

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    33
    Any recommendations on good Design Pattern books? Have been using them at work a lot, but I am trying to learn to write/implement them on my own.

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    Design Patterns by Gamma, Helm, Johnson and Vlissides (which is one of the ones I mentioned at the start of this thread) is the place to start for design patterns.

  6. #6
    Registered User
    Join Date
    Sep 2008
    Posts
    33
    Quote Originally Posted by Daved View Post
    Design Patterns by Gamma, Helm, Johnson and Vlissides (which is one of the ones I mentioned at the start of this thread) is the place to start for design patterns.
    Heh, thanks. I read every page except page 1 Guess I should have clicked once more.

  7. #7
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    That's the first I've heard of that book. It looks very intriguing. There seem to be a lack of top quality C++ books available for programming beginners, and I generally like Stroustrup's approach to teaching C++, so perhaps this could be a new go to recommendation for people who want to learn to program with C++. Thanks for pointing it out.

  8. #8
    Registered User
    Join Date
    May 2009
    Posts
    242
    Beginner books: I've been using Gaddis, Starting out with C++ and Strata, C++ Primer Plus and thought it might be helpful to others to say something about the differences. Both are good books in their own ways.

    Gaddis is better for those who find programming difficult and want more time spent on introductory concepts and more exercises to review the concepts.

    Strata is better for those who find the introductory stuff pretty easy. He provides enough exercises to review the material but seems to write for a reader who is going to have less trouble grasping and remembering the ideas.

    I recently switched to Strata after working up through the classes section in Gaddis because I noticed that Strata discusses classes in greater detail. If you feel like you may need to take a little more time to digest the basics, you should choose Gaddis. If you want to get to the more advanced parts a bit more quickly, go with Strata.

  9. #9
    Registered User GL.Sam's Avatar
    Join Date
    Aug 2009
    Posts
    88
    "Strata"? Stephen Prata maybe?
    The only good is knowledge and the only evil is ignorance.
    ~Socrates

  10. #10
    Registered User Sharke's Avatar
    Join Date
    Jun 2008
    Location
    NYC
    Posts
    303
    Quote Originally Posted by GL.Sam View Post
    "Strata"? Stephen Prata maybe?
    Heh heh. Good job he didn't run into him somewhere, that would have been embarrassing.

  11. #11
    Registered User
    Join Date
    May 2009
    Posts
    242
    yes, sorry, i don't know how i got Strata into my head... mea culpa! Prata is the correct name.

  12. #12
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    For people who understand German, I recommend the brand new book "Der C++ Programmierer" by Ulrich Breymann.
    C++ Lehr-/Lernbuch: Der C++ Programmierer
    I flipped through it at the local bookstore and I was really impressed. It approaches C++ exactly the right way: using high-level library features from the beginning, discussing some Boost libraries, explaining important concepts like value vs. reference semantics, RAII, exception safety, etc. It touches on C++0x features and demonstrates C++0x library enhancements (in particular regexes and threads). It also gives a very brief introduction to Qt as the author's favorite GUI library.
    I don't know if it will be ever translated to English.
    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

  13. #13
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by CornedBee
    I don't know if it will be ever translated to English.
    Get yourself hired as a translator
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  14. #14
    Registered User
    Join Date
    May 2009
    Posts
    242
    What knowledge level does it presuppose? A lot of the concepts you mention are new to me, although the German isn't a problem. Just wondering if it might be a bit too fortgeschritten for now... ?

  15. #15
    Registered User
    Join Date
    May 2009
    Posts
    242
    CB, I hope this one is good, because it ended up costing a lot by the time I got shipping from amazon.de to U.S. But the summaries did sound pretty good, and I concluded that the book is a pretty good level for me: addressed to beginners through pros and including advanced topics, which I definitely need to start delving into.

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