Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Any recommendations for a good beginner's book on C++?

Any recommendations for a good beginner's book on C++?

Scheduled Pinned Locked Moved The Lounge
learningc++question
19 Posts 18 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Cp Coder

    My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

    Get me coffee and no one gets hurt!

    M Offline
    M Offline
    markrlondon
    wrote on last edited by
    #2

    I found 'Ivor Horton's Beginning Visual C++ 2012' very helpful. As the name suggests, it focuses on VC++ but it teaches things generically enough to learn about any other C++ variants. The 2012 version is of course out of date now but I think there are newer versions and it would still be good enough to learn C++ in general. Non-affiliate Amazon UK link: Ivor Horton′s Beginning Visual C++ 2012: Amazon.co.uk: Horton, Ivor: 9781118368084[^] I see that there's a newer Ivor Horton book for generic C++ published in October 2020: 'Beginning C++20: From Novice to Professional'. Non-affiliate link: Beginning C++20: From Novice to Professional: Amazon.co.uk: Horton, Ivor, Van Weert, Peter: 9781484258835: Books[^]

    1 Reply Last reply
    0
    • C Cp Coder

      My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

      Get me coffee and no one gets hurt!

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #3

      Accelerated C++ is the only book I recommended for teaching C++ - i recommend it to beginners and seasoned developers alike (it's a great refresher). It's accessible, brief, cheap, and kicks elephant because it teaches C++ using *generic programming* which is how the STL was designed to be used. By Andrew Koenig and Barbara Moo Used for $20 USD or so.

      Real programmers use butterflies

      1 Reply Last reply
      0
      • C Cp Coder

        My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

        Get me coffee and no one gets hurt!

        D Offline
        D Offline
        David ONeil
        wrote on last edited by
        #4

        She might be interested in the C++ tutorial in my sig. It is a good, quick introduction.

        The Science of King David's Court | Object Oriented Programming with C++

        1 Reply Last reply
        0
        • C Cp Coder

          My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

          Get me coffee and no one gets hurt!

          R Offline
          R Offline
          realJSOP
          wrote on last edited by
          #5

          Doesn't the course material include teaching her C++? And isn't there a recommended reading list for the course?

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          G 1 Reply Last reply
          0
          • C Cp Coder

            My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

            Get me coffee and no one gets hurt!

            R Offline
            R Offline
            RickZeeland
            wrote on last edited by
            #6

            Here is a list: best-resources-to-learn-c-c[^]

            1 Reply Last reply
            0
            • C Cp Coder

              My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

              Get me coffee and no one gets hurt!

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #7

              I'd find out more about this "course". C++ is not exactly a "minor"; unless you're taking Computer Science.

              It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

              1 Reply Last reply
              0
              • C Cp Coder

                My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                Get me coffee and no one gets hurt!

                M Offline
                M Offline
                MarkTJohnson
                wrote on last edited by
                #8

                That professor is just mean.

                I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.

                1 Reply Last reply
                0
                • C Cp Coder

                  My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                  Get me coffee and no one gets hurt!

                  M Offline
                  M Offline
                  Martin ISDN
                  wrote on last edited by
                  #9

                  i'll repeat what i like others suggested: "Accelerated C++: Practical Programming by Example" and add my my 2¢ of going through C++ by the C route "Teach Yourself C++ In 21 Days". it's that "has no experience programming" that scares me in the same sentence with C++.

                  1 Reply Last reply
                  0
                  • C Cp Coder

                    My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                    Get me coffee and no one gets hurt!

                    S Offline
                    S Offline
                    Stuart Dootson
                    wrote on last edited by
                    #10

                    I'll recommend [this Pluralsight course by Kate Gregory](https://www.pluralsight.com/courses/learn-program-cplusplus) - more because I've seen extracts of this course and the philosophy behind it (teach C++, not 'C with a bit of ++'). And as Pluralsight do a free trial, your daughter can try it for nothing.

                    Course FAQ

                    • Who is this course for? This course is aimed at those who have never programmed before.
                    • What will I learn in this course? Learn how to get the tools to develop in C++ and basics like building and running an application, then discover how to use classes from the C++ Standard Library and how to write and use your own functions and classes.
                    • What prerequisites do I need? Before beginning the course, you should be familiar with editing text files on your operating system and that's it.
                    • What software is required? There are text editors that come with your operating system, and then you need a compiler and a linker, and they very often come together.

                    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                    J 1 Reply Last reply
                    0
                    • C Cp Coder

                      My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                      Get me coffee and no one gets hurt!

                      R Offline
                      R Offline
                      Rob Bachrach
                      wrote on last edited by
                      #11

                      My favorite has always been "Thinking in C++" by Bruce Eckel. He's a journalist first and a software developer second. This makes the books very easy to read, even for non-programmers.

                      G 1 Reply Last reply
                      0
                      • S Stuart Dootson

                        I'll recommend [this Pluralsight course by Kate Gregory](https://www.pluralsight.com/courses/learn-program-cplusplus) - more because I've seen extracts of this course and the philosophy behind it (teach C++, not 'C with a bit of ++'). And as Pluralsight do a free trial, your daughter can try it for nothing.

                        Course FAQ

                        • Who is this course for? This course is aimed at those who have never programmed before.
                        • What will I learn in this course? Learn how to get the tools to develop in C++ and basics like building and running an application, then discover how to use classes from the C++ Standard Library and how to write and use your own functions and classes.
                        • What prerequisites do I need? Before beginning the course, you should be familiar with editing text files on your operating system and that's it.
                        • What software is required? There are text editors that come with your operating system, and then you need a compiler and a linker, and they very often come together.

                        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                        J Offline
                        J Offline
                        JeffL45
                        wrote on last edited by
                        #12

                        Thumbs up for Kate Gregory. She is an effective teacher. Easy to follow and understand.

                        1 Reply Last reply
                        0
                        • C Cp Coder

                          My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                          Get me coffee and no one gets hurt!

                          S Offline
                          S Offline
                          SeattleC
                          wrote on last edited by
                          #13

                          I wrote a book with two other authors called The C++ Workbench, which teaches C++. It doesn't teach all of C++, but focuses on the fundamentals. One feature is that it uses online C++ compilers that run in your browser so learning is as frictionless as possible. I'd actually be interested to learn if people like the approach in this book.

                          1 Reply Last reply
                          0
                          • C Cp Coder

                            My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                            Get me coffee and no one gets hurt!

                            M Offline
                            M Offline
                            matblue25
                            wrote on last edited by
                            #14

                            If you're saying she's taking a course where she needs to KNOW C++ but it isn't being taught in the course, then I would recommend taking a different course, or taking a C++ course first. Trying to learn C++ at the same time you're supposed to be using it in a course is a losing proposition, especially if she has no experience programming.

                            1 Reply Last reply
                            0
                            • C Cp Coder

                              My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                              Get me coffee and no one gets hurt!

                              N Offline
                              N Offline
                              NightPen
                              wrote on last edited by
                              #15

                              Not a book but it's free... W3 schools C++ Tutorial[^] takes you though the basics and lets you interactively try things out.

                              1 Reply Last reply
                              0
                              • C Cp Coder

                                My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                                Get me coffee and no one gets hurt!

                                R Offline
                                R Offline
                                Rusty Bullet
                                wrote on last edited by
                                #16

                                I read the list of reccomendations and did not see this one. "C++ How To Program: Introducing Object-Oriented Design with the UML" by Deitel & Deitel. Easy to read, well organized and covers the things likely to be used in basic object oriented C++ programming. Others mentioned that I would second are "Effective C++", PluralSight training and "Thinking in C++", although the last one is rather basic.

                                1 Reply Last reply
                                0
                                • R realJSOP

                                  Doesn't the course material include teaching her C++? And isn't there a recommended reading list for the course?

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  G Offline
                                  G Offline
                                  Gary R Wheeler
                                  wrote on last edited by
                                  #17

                                  Given my daughter's experience with such courses, their 'textbook' is usually a class guide written as a master's thesis project by the graduate assistant teaching the class. These are uniformly awful, poorly written, and of low technical quality.

                                  Software Zen: delete this;

                                  1 Reply Last reply
                                  0
                                  • R Rob Bachrach

                                    My favorite has always been "Thinking in C++" by Bruce Eckel. He's a journalist first and a software developer second. This makes the books very easy to read, even for non-programmers.

                                    G Offline
                                    G Offline
                                    Gary R Wheeler
                                    wrote on last edited by
                                    #18

                                    Thumbs up! I took a C++ programming class from Bruce a loooooong time ago, and his writing was very, very good.

                                    Software Zen: delete this;

                                    1 Reply Last reply
                                    0
                                    • C Cp Coder

                                      My daughter, who has no experience programming, needs to learns C++ for a course she is taking. Can anybody recommend a good book for a greenhorn to learn C++? Thanks!

                                      Get me coffee and no one gets hurt!

                                      H Offline
                                      H Offline
                                      hpcoder2
                                      wrote on last edited by
                                      #19

                                      Having learned it this way, I always recommend Stroustrup's "C++ Programming Language". Read it cover to cover. Yes it will take a while, but its worth it. Then after perhaps a year of C++ experience, pick up Scott Meyer's "Effective C++", both editions. And/or his more recent variants of the same thing. C++ takes a long time to learn to use properly. I've been coding in C++ nearly 30 years now, and I'm still learning stuff. Though I'd like to think I'm and effective C++ coder :-D

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups