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. Learning C++

Learning C++

Scheduled Pinned Locked Moved The Lounge
learningc++mobilelinuxquestion
33 Posts 14 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 Christian Flutcher

    I am planning to learn "C++" as I am getting some freetime. I just checked the online articles and books available. Honestly, I am confused seeing many flavours C++ has. Which one should I learn ? I have seen VC++, Symbian C++ (mobile app) and some other flavours for linux. Which one do you recommend ? I have also gone through Nish's book, "C++/CLI in action" and found very interesting.

    M Offline
    M Offline
    Mladen Jankovic
    wrote on last edited by
    #23

    Christian Flutcher wrote:

    "C++"

    Freeze! QMP*! Special agent John Cardinal! You're under arrest for misuse of quotation marks! * stands for Quotation Marks Police.

    [Genetic Algorithm Library]

    1 Reply Last reply
    0
    • C Christian Flutcher

      John Simmons / outlaw programmer wrote:

      you're probably talking about frameworks and/or platforms

      Yeah. as I am new to this, I don't know how to express it clearly.

      John Simmons / outlaw programmer wrote:

      Once you've leaned C++, it's a simple matter of learning a given framework for the selected platform

      Taking a good beginer level book on C++ and learning is what you mean, right ?

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

      Actually, if you've been a programmer for any length of time, you don't need a book. Besides - pretty much any question you might have can be answered online. My desired method for learning a new language is taking an app I wrote in another langauge, and converting it to the one I'm learning. It's faster that way, and you learn better by doing things wrong at first. You not only learn the right way to do it, but you learn the "why" along with it. You can fill gaping holes in your skill set by applying previous lessons learned.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      K 1 Reply Last reply
      0
      • C Christian Flutcher

        I am planning to learn "C++" as I am getting some freetime. I just checked the online articles and books available. Honestly, I am confused seeing many flavours C++ has. Which one should I learn ? I have seen VC++, Symbian C++ (mobile app) and some other flavours for linux. Which one do you recommend ? I have also gone through Nish's book, "C++/CLI in action" and found very interesting.

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

        Do you know C already? It will be a huge help if you did. VC++ etc are just build environments, and while the like of Microsoft do extend the language, the scope of those extensions are small so VC++, Borland C++ et al, are all C++. As for boks, I cant recomend one, I learnt it just from doing C. After all, C++ is just C with a few bits bolted on such as private class (struct) members, inheritance, polymorphism, and so on. Oh, template classes, STI especially, are very usefull as an addition to C++.

        Morality is indistinguishable from social proscription

        1 Reply Last reply
        0
        • C Christian Flutcher

          Kevin McFarlane wrote:

          I don't regard it as an ideal first book on C++.

          Which one you recommend then ?

          K Offline
          K Offline
          Kevin McFarlane
          wrote on last edited by
          #26

          Unfortunately, I don't have an alternative. I first learnt C++ back in 1994-5. At that time I found the book Turbo C++ to be very good. This was based on Borland's Turbo C++ for DOS but in fact it was teaching you generic C++. But it would be way out of date now and most likely out of print. There are loads of C++ books around. Problem is some will be excellent and some will be poor. I can only give you a general suggestion that you first choose a book that teaches you the C++ language independent of any framework or libraries. Also, I'd recommend avoiding any books by Herbert Schildt. Although he's apparently popular the C++ gurus don't rate him. This guy might be worth a try: You Can Program in C++[^] Plus he also has an even more introductory book You Can Do It[^] I've not read either of the books but he is one of the gurus.

          Kevin

          1 Reply Last reply
          0
          • R realJSOP

            Actually, if you've been a programmer for any length of time, you don't need a book. Besides - pretty much any question you might have can be answered online. My desired method for learning a new language is taking an app I wrote in another langauge, and converting it to the one I'm learning. It's faster that way, and you learn better by doing things wrong at first. You not only learn the right way to do it, but you learn the "why" along with it. You can fill gaping holes in your skill set by applying previous lessons learned.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #27

            John Simmons / outlaw programmer wrote:

            Actually, if you've been a programmer for any length of time, you don't need a book.

            That may be so, but a book helps. When .NET first came out I bought a book on C#. I also did what you suggest - convert existing apps. But the book still added value.

            Kevin

            1 Reply Last reply
            0
            • R Rajesh R Subramanian

              For UI, you can use WxWidgets as Pete suggested, or you can use VCF, which is written and maintained by one of our fellow CPian, Jim Crafton. VCF Online[^]

              Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #28

              Damn - I forgot VCF. Unfortunately, I only became aware of it after I stopped developing in C++, but what I've seen of it looks really good - and there are plenty of articles here on CP for it. I'll second that suggestion - and recommend avoiding Qt because it's expensive if you want to develop commercial apps with it.

              Deja View - the feeling that you've seen this post before.

              My blog | My articles

              1 Reply Last reply
              0
              • M Mladen Jankovic

                Perl for UI?

                Christian Flutcher wrote:

                Is this practical ?

                Ever heard of Qt? It's platform independent library for GUI programming. It's free open source use (or non-commercial, I'm not sure).

                [Genetic Algorithm Library]

                K Offline
                K Offline
                Kevin McFarlane
                wrote on last edited by
                #29

                Mladen Jankovic wrote:

                Perl for UI?

                Perl for anything? Sorry, I couldn't resist bashing it. :)

                Kevin

                1 Reply Last reply
                0
                • N Nemanja Trifunovic

                  Here[^] is my Amazon.com list of C++ books. As you can see, I sugggest starting with "Accelerated C++" which is short, well written and teaches modern C++.

                  Programming Blog utf8-cpp

                  K Offline
                  K Offline
                  Kevin McFarlane
                  wrote on last edited by
                  #30

                  Nemanja Trifunovic wrote:

                  I sugggest starting with "Accelerated C++"

                  Not seen it but it looks good from a casual scan of the reference. If I was learning C++ today I'd go for something like that.

                  Kevin

                  1 Reply Last reply
                  0
                  • C Christian Flutcher

                    I am planning to learn "C++" as I am getting some freetime. I just checked the online articles and books available. Honestly, I am confused seeing many flavours C++ has. Which one should I learn ? I have seen VC++, Symbian C++ (mobile app) and some other flavours for linux. Which one do you recommend ? I have also gone through Nish's book, "C++/CLI in action" and found very interesting.

                    R Offline
                    R Offline
                    Roger Wright
                    wrote on last edited by
                    #31

                    Best of luck to you! I tried for years to learn C++, but the Windows garbage and graphic overhead got in the way of learning. I understand the basics now, but there's no way I'd try to use it for a real application.

                    "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                    1 Reply Last reply
                    0
                    • C Christian Flutcher

                      I am planning to learn "C++" as I am getting some freetime. I just checked the online articles and books available. Honestly, I am confused seeing many flavours C++ has. Which one should I learn ? I have seen VC++, Symbian C++ (mobile app) and some other flavours for linux. Which one do you recommend ? I have also gone through Nish's book, "C++/CLI in action" and found very interesting.

                      M Offline
                      M Offline
                      Marshall
                      wrote on last edited by
                      #32

                      I learned from a book titled “C++ How to Program” by Harvey and P.J. Deitel. (ISBN 0131173340) This was about 15 years ago, but I’ve seen new editions since that time. I’m not saying this is THE best book for learning C++ - just saying it’s the one I used. I’ve made a good living writing C++ code ever since then, so I’d say it was at least helpful in getting me transitioned to C++ and OOP (from C and COBOL).

                      _If you continue to do the same things you always did,
                      don't be surprised if you get the same results you always got.
                      _

                      1 Reply Last reply
                      0
                      • C Christian Flutcher

                        Kevin McFarlane wrote:

                        I don't regard it as an ideal first book on C++.

                        Which one you recommend then ?

                        S Offline
                        S Offline
                        shiftedbitmonkey
                        wrote on last edited by
                        #33

                        C++ Primer by Stanley Lippman[^] And then follow up with Scott Meyer's[^] I would recommend buying the tomb by Bjarne Stroustrup[^] as a reference. But I can't recommend the first two sources highly enough.

                        I've heard more said about less.

                        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