How to get started with C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kopuk1234
    New Member
    • Nov 2009
    • 3

    How to get started with C++

    Hi every one, I am new in this form and this is my second post so far, there is something I like to share here and like you to point out where I am doing wrong.

    Last year I started a part time study in Web Technologies, Networking for Business and Programing in C++. It was a one day a wk course at the college,

    At day one We where interdused to visual studio and how to start a writing a program "Hello World :)".

    What I am trying to understand here is, he told us day by day to look at sheets printed from W3Schools and expected us to understand, I mean it was not to hard to understand but, he dident actually describe the software and the way computer handles data. I actually had to know what to write into the c++ software befor it came out on cout.

    I know, you have to ask pc to do something before it happens. but its not exacly as translating from one nations language to an other. In one case you know something, you can describe its shape, if its a tool or food or distance, soft or hard, its weight or height or copy its moves like monkey :) . In other case like C++ language, is like you never driven a car and need to gain a lot of confident but you bought a car and must drive it. (Thinking you need it for living).

    I had to leave to study as I dident get what I needed from it.
    I joind the course as I was spending a lot of time in front of computer, as I am also a satellite engineer but no proof of my knowledge, this time I tought I grab some papers that proofs what I can doo.

    Any way I dont really like putting my ideas in to the net, I rather share them with people with a cup of coffe. :) Bit of human tuch :).

    I am still looking to find the right way of learning how to become a C++ programer.
    Thanks
    Muyo
  • RRick
    Recognized Expert Contributor
    • Feb 2007
    • 463

    #2
    It sounds like you need a pretty basic C++ tutorial to get you going. Try googling on C++ turtorial.

    I found http://www.cplusplus.com/doc/tutorial/ and that starts with the same Hello World program you tried. It describes what is going on, line by line. The site also has more complicated examples.

    Let us know if you find something better.

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      Get a good basic book for example

      C++ Primer Plus
      C++ Primer
      Sams Teach Yourself C++ in 21 Days

      All of these books tend to have a section of exercises at the end of every chapter for you to do. Read the chapter, do the exercises to make sure you've understood the chapter.

      Get down to a good book shop find the computing section and browse a couple to see which you like best.

      Comment

      • zacksoniar
        New Member
        • Sep 2007
        • 45

        #4
        thinking in c++ is also good book.but if u r new to programming,lea rn C first.
        It will help u in understanding basic flows & how computer works at byte level.
        then u can start C++ & object oriented concepts

        Comment

        • Banfa
          Recognized Expert Expert
          • Feb 2006
          • 9067

          #5
          Hmmm the problem with learning C first is that you learn procedural programming, this then becomes a block you have to overcome to learn object orientated programming.

          Comment

          • donbock
            Recognized Expert Top Contributor
            • Mar 2008
            • 2427

            #6
            If you are going to start from a procedural language (and Banfa is right, there are reasons not to), then you might be better served starting from Perl. The syntax is C-ish, but it has the advantage of being an interpretive language -- so you have a quicker path from writing the program to running the program.

            I gather that your goal is learning how to program C++. The only reason to start from another language is if that teaches you the basics of general programming skills faster. You'll want to graduate to the real thing (C++) as soon as possible.

            You might find some of the articles in the C/C++ Insights forum helpful.

            Comment

            • glin
              New Member
              • Nov 2009
              • 1

              #7
              Two very good books for beginners are :

              - Bjarne Stroustrup, Programming : Principles and practise using C++ (see : http://www.stroustrup.com/Programming/)

              and :
              - Andrew Koenig and Barbara Moo, Accelerated C++

              Comment

              • johny10151981
                Top Contributor
                • Jan 2010
                • 1059

                #8
                I agree with banfa about C. I am stuck with C. No matter what, its hard for me to think object.
                regards,
                johny

                Comment

                Working...