Page 1 of 2 12 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
    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

  2. #2
    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/

  3. #3
    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.

  4. #4
    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

  5. #5
    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

  6. #6
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

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

    Let me post another one that I lately discovered:
    Code Reading: The Open Source Perspective

  7. #7
    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.

  8. #8
    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

  9. #9
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

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

    I'm going to go out on a limb and recommend C++ as a first language. I never would have said this several years ago, but then I discovered "Practical C++ Programming" by Steve Oualline (O'Reilly). It a really great book that focuses on the core practical elements of C++. It's written for the beginner programmer, but doesn't treat him like a child.

    I would also recommend avoiding IDEs like Visual Studio or KDevelop. Stick with a text editor and the command line until you learn the language.

  10. #10
    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 ePharaoh
    I find java incredibly more robust and formal, than C++.
    I second that, ePharaoh. I've been developing with C++ for 15+ years now. And have just begun to learn Java. It would have been nice if C++ had included Java interfaces and packages.

    Quote Originally Posted by ePharaoh
    About speed, Java is gaining ground with the help of native compilation.
    Many people incorrectly assume Java is still interpreted. With just-in-time (JIT) compilitation, it can actually be faster since it can more accurately optimize to the target platform.

  11. #11
    Join Date
    Jan 2006
    Posts
    70
    Thanks
    13
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

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

    C++ : Effective Object-Oriented Software Construction
    Dattatri

    isbn 0130867691

    I've been programming in c++ for about 7 years and this is one book that covers the advanced topics of c++. It starts out with polymorphism, where most books end with that topic. This is the book I use when looking up obscure and advanced topics.

  12. #12
    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

  13. #13
    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.

  14. #14
    Join Date
    Jan 2008
    Location
    India
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

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

    C++ from dietell & dietell

  15. #15
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

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

    C++ The Complete Reference by Herbert Schildt is my first choice.
    Others lists are;
    Thinking in C++ (Bruce Eckel)
    C++ Primer! by .... Patra
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  16. #16
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

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


  17. #17
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

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

    i know C previously........so i choose

    1)PROGRAMMING: PRINCIPLES AND PRACTICE USING C++ --STROUSTRUP(at first i read this and then)
    2)THE C++ PROGRAMMING LANGUAGE --STROUSTRUP (still reading it)

    i also think c++ primer plus is a good book and can be replaced with the (1) option but there is no replacement for (2) one......some will say there can't be any replacement to that monster book but if u know c++ its a treasure........

  18. #18
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

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

    I didn't like the C++ GUI Programming With Qt4. Too small of a book and didn't cover enough in details on MVC, QtScript, I don't know if it had QtDBus at time of publishing.

    I love the Foundations of Qt Development. I hope there is a update to the book. That covers alot more modules. the only thing I didn't like was no QtScript, no QtDBus and no covering of the QMeta system unless I over looked that part and QSslSockets.
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

  19. #19
    Join Date
    Mar 2010
    Location
    China
    Posts
    10
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

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

    I even don't know which book suit for me.....terrible~~~ i just love Internet and google....

  20. #20
    Join Date
    Nov 2014
    Posts
    32
    Thanked 1 Time in 1 Post
    Qt products
    Platforms
    Windows

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

    Dietel and Dietel, C++ How To Program
    Excellent introductory textbook on the C++ language. This book is also fairly comprehensive -- it includes a reasonable coverage of all the basic language features.

    I can swear by this book since it's the book from which I learned C++.

    Bruce Eckel, Thinking in C++
    Eckel's books have become very popular. His C++ book is freely available on the web. I haven't read it, but I have his java book, which is a gem. Take a look at the one on the web, and buy it if you like it.

    Andrew Koenig and Barbara Moo, Acclerated C++
    A C++ textbook that takes an innovative and nontraditional approach by teaching C++ without ``teaching C'' first. This book adopts a relatively rapid pace, it's more like a second text than a first. This is one of the few beginner books I've seen where all the code in the book really looks like C++, and not some bizarre prehistoric C-like dialect. Another thing I like about the book is they teach just the right subset -- rather than asking the reader to rote-memorise the details of every STL class, they focus on the important ones (mostly map, list and vector).

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.