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. General Programming
  3. C / C++ / MFC
  4. C++ Rookie.

C++ Rookie.

Scheduled Pinned Locked Moved C / C++ / MFC
learningquestionc++tutoriallounge
11 Posts 9 Posters 3 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.
  • F forexsurfr

    I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

    C Offline
    C Offline
    Cedric Moonen
    wrote on last edited by
    #2

    forexsurfr wrote:

    Secondly, what is the most recommended learning path.

    There's no secret: learning to be a good programmer is like learning to be a good musician. It comes from practising, a lot. Work on different kind of projects, by starting to work with people that have more experience than you and will be able to guide you. Looking at code developped by others and trying to understand it also helps a lot.

    Cédric Moonen Software developer
    Charting control [v3.0] OpenGL game tutorial in C++

    1 Reply Last reply
    0
    • F forexsurfr

      I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

      A Offline
      A Offline
      Aescleal
      wrote on last edited by
      #3

      My first bit of advice is don't use that Deitel book. It was the recommended text for a module of an MSc course I did a couple of years ago and it was truly appalling. I'd also be wary of Stephen Prata's book. I am a fan of his "C primer" (I learnt C from it years ago) but his C++ book was too much like the C book to avoid confusing people. I'd recommend "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup, it's a lot better introduction to C++ and programming in general. If you already know a programming language then "Accelerated C++" by Koenig and Moo is pretty good. I've seen five people now successfully use "Accelerated C++" to become effective fairly quickly with self study. Cheers, Ash

      1 Reply Last reply
      0
      • F forexsurfr

        I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

        M Offline
        M Offline
        Moak
        wrote on last edited by
        #4

        forexsurfr wrote:

        Secondly, what is the most recommended learning path.

        Start coding. Do it a lot, have fun and also talk with other coders. Sooner or later you will see it's a team sport. :)

        Chat in Europe :java: Now with 24% more Twitter

        1 Reply Last reply
        0
        • F forexsurfr

          I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #5

          forexsurfr wrote:

          I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language.

          By using it.

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "Man who follows car will be exhausted." - Confucius

          1 Reply Last reply
          0
          • F forexsurfr

            I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

            F Offline
            F Offline
            forexsurfr
            wrote on last edited by
            #6

            Thank you everybody for your help and direction.

            1 Reply Last reply
            0
            • F forexsurfr

              I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

              B Offline
              B Offline
              bob16972
              wrote on last edited by
              #7

              Ivor Horton has a good book on Visual C++ 2008. He teaches C++ in the first half of the book and Windows Programming in the second half. He's still uses MFC for most of the book (which is a good thing IMO) but he has adapted and incorporated WinForms and some managed code for those who want it. I've been very impressed with his teaching style and his choice of topics to cover.

              1 Reply Last reply
              0
              • F forexsurfr

                I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

                V Offline
                V Offline
                vbmike
                wrote on last edited by
                #8

                I have to say the way I learned C++ was thru the Horton's book already mentioned. I started with version 6 of his and worked thru 2005 etc. Very good book. However, if you are not a good book-learner type of person I highly recommend a continuing education class. I took a certificate program thru a local university that was 2 years long after all the classes were gone thru and it proved very very valuable having someone to bounce things off of like an experienced instructor ( in addition to homework and tests!). I think you can prevent learning bad habits that way....

                michael judy m_judy@hotmail.com "According to my calculations there is no problem"

                1 Reply Last reply
                0
                • F forexsurfr

                  I am learning C++ and would like to find out from the veterans out there what is the most efficient way of learning this language. Through research I have found the book "C++ How to Program" by P.J. Deitel and am working through the book. I also have on order "C Primer Plus" by Stephen Prata. Though my "How to Program" has limited questions and exercises. Secondly you have to have an instructor's edition to verify the answers to exercises and this resource is not accessible to the general public. Does anyone out there know of any good workbooks with questions and exercises and answers to these items? Secondly, what is the most recommended learning path.

                  T Offline
                  T Offline
                  Tim Craig
                  wrote on last edited by
                  #9

                  Do not use any of the Microsoft code samples as examples of good coding.

                  Once you agree to clans, tribes, governments...you've opted for socialism. The rest is just details.

                  S 1 Reply Last reply
                  0
                  • T Tim Craig

                    Do not use any of the Microsoft code samples as examples of good coding.

                    Once you agree to clans, tribes, governments...you've opted for socialism. The rest is just details.

                    S Offline
                    S Offline
                    Stefan_Lang
                    wrote on last edited by
                    #10

                    Seconded. Many of the MS examples involve using the windows library, or worse, MFC. And these are still full of bad code, such as global #defines that mess up your code with no identifyable error message, and conflicting type definitions ('Handle' anyone?). In the end half the problems you'll encounter will be caused by MS stuff and not by your lack of understanding C++! Best way to start learning is avoid windows programming and instead do a few command line applications. Personally I never really used a book to learn C++, mostly because at the time I started there weren't any ;) (more to the point, the language was still in development and I was using a precompiler that converted C++ code into C before starting the actual compiler). If I were to recommend a book to buy, it would be "The C++ Programming Language" by Bjarne Stroustrup. Considering that it is not exactly named to be a learning book, it does contain very good explanations of the mechanisms, lots of examples, and at the end of each chapter there is a list of exercises that you can do. The nice thing about the book is that after almost 30 years of C++ programming I can still find useful advice or examples inside whenever I dig into some of the less familiar constructs (e. g. virtual inheritance or template specialization).

                    T 1 Reply Last reply
                    0
                    • S Stefan_Lang

                      Seconded. Many of the MS examples involve using the windows library, or worse, MFC. And these are still full of bad code, such as global #defines that mess up your code with no identifyable error message, and conflicting type definitions ('Handle' anyone?). In the end half the problems you'll encounter will be caused by MS stuff and not by your lack of understanding C++! Best way to start learning is avoid windows programming and instead do a few command line applications. Personally I never really used a book to learn C++, mostly because at the time I started there weren't any ;) (more to the point, the language was still in development and I was using a precompiler that converted C++ code into C before starting the actual compiler). If I were to recommend a book to buy, it would be "The C++ Programming Language" by Bjarne Stroustrup. Considering that it is not exactly named to be a learning book, it does contain very good explanations of the mechanisms, lots of examples, and at the end of each chapter there is a list of exercises that you can do. The nice thing about the book is that after almost 30 years of C++ programming I can still find useful advice or examples inside whenever I dig into some of the less familiar constructs (e. g. virtual inheritance or template specialization).

                      T Offline
                      T Offline
                      Tim Craig
                      wrote on last edited by
                      #11

                      Stefan63 wrote:

                      the language was still in development and I was using a precompiler that converted C++ code into C before starting the actual compiler

                      Been there, done that. Weren't the 80s fun? :laugh: Not only no debugger, you had to figure out if it was your bug or the way the translator was mangling your C++ code into C or a bug in the C compiler.

                      Once you agree to clans, tribes, governments...you've opted for socialism. The rest is just details.

                      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