Thread: C++ Book Recommendations

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    4
    I want to know about free resourses.Tell me whether I can download them.

  2. #2
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    http://www.directxtutorial.com
    This is not a book, but it's still awsome
    Teaches you DirectX very efficiently, or so I'm told... But what I've been told, also fails often, but it sure looks awsome, I just have to finish the book I'm reading before getting into that :P
    But anyways, good site for DirectX tutorials and stuff
    Currently research OpenGL

  3. #3
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    I really enjoyed Let us C by Kanetkar. But is the C++ one as good? And is there any c++ book (not a reference, more like for learning) covering windows + *nix programming? Thx in advance

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Both at once? Unlikely.
    However, as separate topics? Probably as sure as there is a sun out planet revolves around.
    What they may be called, however, is unknown to me. But I know there have been some Windows programming books been mentioned on the boards. Perhaps the best bet is searching the Windows programming section.
    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.

  5. #5
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    Well, they are included in let us C. But do you think I could use them in C++?

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Perhaps. I would not go as far as recommending them. Often, C books do not do well as C++ books due to the difference in the languages.
    But they may go as far as to teach you how the OS works and what APIs to use for what, etc. Since the APIs are all C, it may still be something.
    I don't know. You would have to try it yourself, or perhaps someone else knows.
    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.

  7. #7
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by coletek
    I totally recommend "C++ In Plain English 3rd Edition" (ISBN 0-7645-3545-5). Its the best one I've found. A awesome book to read and an also serves as an awesome quick reference - I mean it, its the best and only ~50AUD. Its the best C++ never written to learn from and use as a reference.
    Having not read the book myself, I am hesitant to judge it by its table of contents alone (at least better than judging a book by its cover ), but something looked amiss when I checked its table of contents from Amazon. After reading Glassborow's review for ACCU I understand why: according to Glassborow, it does not teach modern C++ even to a satisfactory novice level.
    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

  8. #8
    Spam is Good
    Join Date
    Jan 2009
    Location
    In a cave on Mars
    Posts
    37
    Quote Originally Posted by laserlight
    Having not read the book myself, I am hesitant to judge it by its table of contents alone (at least better than judging a book by its cover ), but something looked amiss when I checked its table of contents from Amazon. After reading Glassborow's review for ACCU I understand why: according to Glassborow, it does not teach modern C++ even to a satisfactory novice level.
    Next time ya in a book store, just check it out, trust me it serves as a very awesome reference - its layout is terrific and reads very well. Half the book is a reference, which lists/compares operators, keywords, pre processor elements, library functions, io stream classes. And the other half of the book is a C++ tutorial. Trust me its really good - I've read (and flicked through) about 10 C++ books and found this to be the best.

    I come from a C world so, if you don't know C, then maybe this is not the book for you. But if you know C, this is the book for you.

    The only downfall I have with the book is it has notes for Microsoft Visual C++ 6.0, I'm a Linux hacker, so I would of liked notes also on gcc/g++ - but hey, such is life.
    Last edited by coletek; 01-11-2009 at 10:21 AM.

  9. #9
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Looking further I discovered that the author never covers string or wstring anywhere in this book.
    Sorry, but I trust the ACCU review more than the opinion of a C++ novice. If the above sentence about this book is true (and I have no reason to doubt its veracity), then it's enough to make me dismiss the book completely.

    For example, the "io stream classes" you claim there's a reference for don't exist anymore. According to the review, the reference is for the pre-standard version of iostreams, but the standard versions have changed in a few quite significant areas.

    Please read the review that laserlight linked to. It points out several major deficiencies of the book, and I have no reason to doubt that the author is right when he says that those are not isolated incidents.
    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

  10. #10
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by coletek
    Next time ya in a book store, just check it out, trust me it serves as a very awesome reference - its layout is terrific and reads very well. Half the book is a reference, which lists/compares operators, keywords, pre processor elements, library functions, io stream classes. And the other half of the book is a C++ tutorial. Trust me its really good - I've read (and flicked through) about 10 C++ books and found this to be the best.
    Okay, using only that book as a reference, tell me what this program does without running it:
    Code:
    #include <map>
    #include <string>
    #include <cstddef>
    #include <iostream>
    
    int main()
    {
        using namespace std;
    
        map<string, size_t> word_counts;
    
        string word;
        while (cin >> word)
        {
            ++word_counts[word];
        }
    
        for (map<string, size_t>::iterator iter = word_counts.begin(), end = word_counts.end();
            iter != end; ++iter)
        {
            cout << iter->first << ": " << iter->second << endl;
        }
    }
    Quote Originally Posted by coletek
    I come from a C world so, if you don't know C, then maybe this is not the book for you. But if you know C, this is the book for you.
    According to Glassborow, the problem with this book is its content. The book teaches C++ as if it were merely a "better" C. Modern C++ puts the C++ standard library to good use and makes use of idioms that are not found in C. Apparently, despite being published years after the C++ Standard was ratified, the book even has examples that are pre-standard.

    EDIT:
    Actually, considering that Glassborow cited gets() and a failure to distinguish between a pointer and an array, it is conceivable that Overland does not even teach C++ as a "better" C in this book. (I actually stole that "better C" phrase from a customer review on Amazon.)
    Last edited by laserlight; 01-11-2009 at 10:42 AM.
    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

  11. #11
    Spam is Good
    Join Date
    Jan 2009
    Location
    In a cave on Mars
    Posts
    37
    Ok, well I see you points. But as a C coder, I only use C++ when I really need a O-O arch. When I use C++ I still use C style coding methods. I personally don't see the point in the overhead of using some C++ stuff (eg. string wstring) when it can be done in C (eg. char). Another example is iostream (what is wrong with printf, scanf).

    From my point of view, C++ is only good for its ability to handle O-O for your large task at hand. In any other case it should be just C.

    So based on my above comments I see the book as good. I just read the ACCU comments and while I agree with he's comments I still see it as a good book. Probably more so, because of the great layout and method to ref things so easy - something I've found hard to find in any books.

  12. #12
    Registered User
    Join Date
    Dec 2008
    Posts
    65
    I'm sure someone already mentioned it, but I have rather enjoyed reading Bjarne Stroustrup's book "Programming - Principles and Practice Using C++".

    I have also enjoyed the Dietel books. Color always makes things easier to read.

  13. #13
    Registered User
    Join Date
    Mar 2009
    Posts
    1
    Deitel books are good. I got the solutions to the 6th edition and it helped me a lot.

  14. #14
    Registered User
    Join Date
    Mar 2009
    Posts
    1

    c++ book

    Hi all, I have read c++ without fear and am currently over halfway through practical c++. c++ without fear was a really good book. practical c++ is good with showing more details of specific c++ options. The only thing is that with practical c++ it seems that there is not much in-depth talk and multiple examples for all this detailed stuff. The author kinda just gives it to you quick. I just got done with the file i/o section and at the end it lists programming exercises. And I dont feel that the author went through the file i/o in depth enough for me to feel comfortable or even know how to approach these examples. Is there a book that goes in depth with every aspect of what the chapter is about but also uses multiple examples. And realife implementations. I am kinda bored with book examples and want something to keep my interest, like seing the programs implemented with real computer data and not just things ive typed into the compiler. And examples help a lot. Not just one example but lots of them on one subject that shows multiple problems solved using different implementations of the subject matter.
    thanks.

  15. #15
    Registered User
    Join Date
    Apr 2009
    Posts
    34
    Thanks, brewbuck I appreciate your comments.

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