Page 1 of 3 123 LastLast
Results 1 to 20 of 85

Thread: What are your favourite C++ books?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    Quote Originally Posted by eugen
    What are your favorite C++ books you read - and keep readind from time to time?
    My personal favorite is "C++ Primer" by Stanley B. Lippman and Josée Lajoie. I've learned C++ from it.

    Quote Originally Posted by jlp
    If anyone knows of any similar or even better C++/Qt books for newbies just let us know.
    Try "C++ GUI Programming with Qt 3" by Jasmin Blanchette and Mark Summerfield. It's a very nice book to learn Qt3 from. You can download it for free from this site.

  2. #2
    Join Date
    Jan 2006
    Location
    N.B. Canada
    Posts
    47
    Thanked 8 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    The C++ Programming Language by Bjarne Stroustrup.
    Effective C++: 55 Specific Ways to Improve Your Programs and Designs, 3rd Edition by Scott Meyers

    As for Qt related programming, the book jacek mentioned is pretty much the Qt book and its all you need, plus the docs .

    Bojan
    The march of progress:
    C:
    printf("%10.2f", x);
    C++:
    cout << setw(10) << setprecision(2) << showpoint << x;
    Java:
    java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
    formatter.setMinimumFractionDigits(2);
    formatter.setMaximumFractionDigits(2);
    String s = formatter.format(x);
    for (int i = s.length(); i < 10; i++) System.out.print(' ');
    System.out.print(s);

  3. The following user says thank you to Bojan for this useful post:

    Zlatomir (15th May 2010)

  4. #3
    Join Date
    Jan 2006
    Posts
    40
    Thanks
    3
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    A good reference is C++ in a Nutshell although it lacks the examples in the Lippman or Stroustrup texts the answers are right there.

  5. #4
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    The Qt3 book already mentioned is a MUST HAVE (I even PAID for it!) (They even had it at Barnes and Noble!)
    of course when I got it Qt4.1 rc 1 was already out (and I wasn't going to start using an old version!) so I pretty much used it to just get an idea about HOW to use Qt since some of the syntax is a little different.

    C++ In Plain English is a great reference book, especially for people moving from 'plain old' C to C++. (Which I did kicking and screaming, BTW and now would never go back) It touches on many topics but puts a lot of focus on object orientation and skims over things like int,long,float,printf,arrays,etc (eg. things you should already know unless you are completely new to this)

    Not a C++ book, but the O'Reilly Pocket Reference on Regular Expressions is quite helpful even though it is REALLY meant for Java, C#, and PHP

    Katrina

  6. #5
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    The Complete Reference - Herbert Schildt
    And of Course the
    C++ GUI Programming with Qt 3 - Jasmin Blanchette and Mark Summerfield

    Thanks to trolltech for providing the ebook for free download.

    We can't solve problems by using the same kind of thinking we used when we created them

  7. #6
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    Deitel produces thorough books about programming.

    Once you have the basics down Effective C++ by Scott Meyers is essential

  8. #7
    Join Date
    Jan 2006
    Location
    Moscow, Russia
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    Hi

    Begginers C++:

    Bjarne Stroustrup
    The C++ Programming Language

    Advanced C++:

    Herb Sutter
    Exceptional C++, More Execptional C++

    Andrei Alexandrescu
    Modern C++ Design

    Andrei Alexandrescu, Herb Sutter
    C++ Coding Standards: 101 Rules, Guidelines, and Best Practices

    Best Regards

  9. #8
    Join Date
    Jan 2006
    Location
    Poznań, Poland
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    Can someone recommend any position on Programming Patterns (preferrably with C++ examples)?
    I've just found an e-book "Thinking in Patterns with Java", http://www.pythoncriticalmass.com/do...tterns-0.9.zip .
    But it would be nice to get something with C++ code!
    regards!

  10. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    Quote Originally Posted by tomek
    Can someone recommend any position on Programming Patterns (preferrably with C++ examples)?
    There can be only one answer

    Design Patterns. Elements of Reusable Object-Oriented Software. Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

    PS. Recently a Polish translation was published by WNT.

  11. #10
    Join Date
    Jan 2006
    Location
    Southern Europe
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: What are your favourite C++ books?

    I am a complete C++ newbie, and I' m reading You Can Do It! : A Beginners Introduction to Computer Programming by Francis Glassborow. I find it quite easy to follow for people without any programming experience (some knowledge of Python might help, though).

    After getting the basics, I'll go on with Accelerated C++: Practical Programming by Example by Andrew Koenig and Barbara E. Moo.

    Afterwards I plan to read C++ GUI Programming with Qt 3 by Jasmin Blanchette and Mark Summerfield, and finally, as time permits, other advanced C++ books (Alexandrescu, Sutter, Meyers, etc).

  12. #11

    Default Re: What are your favourite C++ books?

    Quote Originally Posted by eXire
    Hi

    Begginers C++:

    Bjarne Stroustrup
    The C++ Programming Language

    Best Regards
    I couldn't get through that book. Maybe it's because of poor Polish translation (it shows, that there was no linguistic editor), but I find it's language too convoluted to be easly understood.

    Damian

  13. #12
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    I took a rather strange way to learn programming:
    - I started by C, when I 10 years old, I didn't understand anything and produced uggly spaghetti code
    - then I learn z80 assembly and produced some pretty efficient code but I was fed up with hardware and..
    - I came back to C++
    code snippets and O'Reilly books helped me a lot

    Java is fast??? What kind of mental derangement do you suffer from?
    Current Qt projects : QCodeEdit, RotiDeCode

  14. #13
    Join Date
    Mar 2006
    Posts
    22
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: What are your favourite C++ books?

    Bruce Eckel's Thinking in C++. It is divided into two volumes, the first dealing with basic concepts, the second dealing with the more iffy stuff. Very clear examples and explenations. As a bonus, this book is downloadable for free.

    http://www.bruceeckel.com/

  15. #14
    Join Date
    Feb 2006
    Location
    US
    Posts
    173
    Thanks
    16
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: What are your favourite C++ books?

    Once beyond simple C++ syntax/semantics, I highly recommend

    Nicolai M. Josuttis, "The C++ Standard Library: A Tutorial and Reference", Addison-Wesley, 1999.

  16. #15
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Thanks
    9
    Thanked 29 Times in 29 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: What are your favourite C++ books?

    I'm not looking through the entire thread to see if they've been mentioned already, but:

    • Absolute C++, Savich
    • Design Patterns, Gang of Four
    • Refactoring, Fowler
    • C++ For Game Programmers, Llopis


    They're not all about C++ specifically, but they're all relevant. I especially recommend Design Patterns.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  17. #16
    Join Date
    Jan 2006
    Posts
    30
    Thanks
    6

    Default Re: What are your favourite C++ books?

    I prefer Bruce Eckel's Thinking in C++,
    Volume 1, 2nd Edition
    and Volume 2

    It is available in pdf format online

    regards

  18. #17
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    Quote Originally Posted by brcain
    Once beyond simple C++ syntax/semantics, I highly recommend

    Nicolai M. Josuttis, "The C++ Standard Library: A Tutorial and Reference", Addison-Wesley, 1999.
    I totally second that brcain. That's a real power users volume, but lucid enough for anyone who has learnt C++ but wants to master it.
    Save yourself some pain. Learn C++ before learning Qt.

  19. #18
    Join Date
    Mar 2006
    Location
    India
    Posts
    15
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: What are your favourite C++ books?

    Well, I too think that learning Java is a nicer introduction to C++. The path I would recommend is C -> Java -> C++

    Quote Originally Posted by GreyGeek
    So, Java isn't in my future.
    I am glad you made it clear that it is a personal opinion. Language choice is really a matter of personal tastes and the nature of task at hand.

    I find java incredibly more robust and formal, than C++. That makes it easier to develop compiler tool chains and IDEs for Java. The sheer number of refactoring and quick-fix features provided by Eclipse is a testimony to that.

    About speed, Java is gaining ground with the help of native compilation. (See ClasspathShowcase and Fedora Eclipse.) Though it really is unfair to compare two languages based on speed, because there are a number of tradeoffs involved (portability, robustness, etc).

    As of now, for desktops, I would use C++ to develop real world applications and Java for trying out new algorithms/concepts etc. (I am working on neural net simulation in Java, for example). But I do hope that Java gains more ground and becomes usable for real-world applications on the desktop.
    Qt 4.2 (qt-copy in KDE svn)
    KDE 4.0 (svn)
    Currently developing Anthias

  20. #19
    Join Date
    Jan 2006
    Posts
    25
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: What are your favourite C++ books?

    * For newbies I recommand:

    Sams Teach Yourself C++ For Linux In 21 Days With Cdrom
    Liberty, Jesse
    ISBN : 0672318954
    This book is easy to read, and has all essentials in it. For those who do not which to program under Linux, just skip the Linux part. The C++ part is very nice on itself.

    * Reference for advanced users with specific C++ problems, ofcourse:
    The C++ Programming Language
    Stroustrup, Bjarne
    ISBN : 0201700735
    Don't start with this book as a newbie. It is far to advanced, but to become a good c++ programmer someday you will have to read it

    * For Object Oriented programming:
    An Introduction to Object-Oriented Programming
    Timothy Budd

    * Design patterns :
    Design Patterns (Elements Of Reusable Object-Oriented Software)
    Gamma, Erich
    ISBN : 0201633612

  21. #20
    Join Date
    Feb 2006
    Location
    US
    Posts
    173
    Thanks
    16
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: What are your favourite C++ books?

    Quote Originally Posted by edb
    * Reference for advanced users with specific C++ problems, ofcourse:
    The C++ Programming Language
    Stroustrup, Bjarne
    I'd only get this book as a reference ... or as edb stated ... addressing very specific issues.
    I rarely, rarely ever need to use this book. And with Internet resources so accessible it's becoming even less needed.

Similar Threads

  1. any good books for QT 4.2?
    By neomax in forum General Discussion
    Replies: 7
    Last Post: 4th September 2007, 08:37
  2. Both Qt 4 books delayed?
    By brcain in forum General Discussion
    Replies: 32
    Last Post: 24th January 2007, 02:42
  3. books to learn Qt
    By nimmyj in forum Newbie
    Replies: 2
    Last Post: 8th December 2006, 21:16
  4. QT4 Books
    By Jimmy2775 in forum Qt Programming
    Replies: 3
    Last Post: 7th February 2006, 20:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.