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. Moving from C# to C++

Moving from C# to C++

Scheduled Pinned Locked Moved The Lounge
csharpc++questionlearning
108 Posts 36 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 c2423

    I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

    A Offline
    A Offline
    Anna Jayne Metcalfe
    wrote on last edited by
    #2

    If you're beyond the basics of C++ I'd strongly recommend you read Meyers Effective C++[^]. Once you've that under your belt you will be in a far better position to work out what to read next... I'd also recomend that you join the accu-general mailing list[^]. It's free to join (ACCU membership isn't required for that particular list) and you'll get access to some of the best C++ minds on the web (including some of the Standards Committee...). They're a friendly bunch, and always willing to answer questions or indulge in a spot of mentoring. :)

    Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

    C C 2 Replies Last reply
    0
    • C c2423

      I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

      0 Offline
      0 Offline
      0x3c0
      wrote on last edited by
      #3

      I learned practically. I would get a large project, which would take years to complete, and write it in C++. I've done the same in C# with Tortoise; by the end of 2008, I had 50 applications in total, and had the syntax almost memorised

      Between the idea And the reality Between the motion And the act Falls the Shadow

      C 1 Reply Last reply
      0
      • C c2423

        I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

        J Offline
        J Offline
        Jim Crafton
        wrote on last edited by
        #4

        There's the Stroustrup book which isn't bad. This isn't a teaching resource, but if you get to the point where you'd actually like to start programming windows apps, you might give the VCF, written by yours truly, a glance. Lots of C++, and lots of neat features, similar to what you might find in .Net.

        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

        C 1 Reply Last reply
        0
        • C c2423

          I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #5

          There's more C++ work where you live ? The stroustrup book is obviously essential, given that he created the language. If you find you use MFC a lot, then a MFC book may be more helpful, although you should use the standard library, and not MFC containers, for example.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          C 1 Reply Last reply
          0
          • C c2423

            I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

            T Offline
            T Offline
            ToddHileHoffer
            wrote on last edited by
            #6

            Interesting that you are finding C++ required. Can I ask where you live? I have zero trouble finding work with no C++ experience.

            I didn't get any requirements for the signature

            C S 2 Replies Last reply
            0
            • A Anna Jayne Metcalfe

              If you're beyond the basics of C++ I'd strongly recommend you read Meyers Effective C++[^]. Once you've that under your belt you will be in a far better position to work out what to read next... I'd also recomend that you join the accu-general mailing list[^]. It's free to join (ACCU membership isn't required for that particular list) and you'll get access to some of the best C++ minds on the web (including some of the Standards Committee...). They're a friendly bunch, and always willing to answer questions or indulge in a spot of mentoring. :)

              Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

              C Offline
              C Offline
              c2423
              wrote on last edited by
              #7

              Thanks for the reccomendation - I just had a look at the contents on Amazon, and it does seem like a very good book for me to read! I'm not sure I'm quite that good at C++ yet but it looks like it will be very helpful when I get to that point. Thanks, Chris

              A C 2 Replies Last reply
              0
              • 0 0x3c0

                I learned practically. I would get a large project, which would take years to complete, and write it in C++. I've done the same in C# with Tortoise; by the end of 2008, I had 50 applications in total, and had the syntax almost memorised

                Between the idea And the reality Between the motion And the act Falls the Shadow

                C Offline
                C Offline
                c2423
                wrote on last edited by
                #8

                Yeah, that's how I learnt C# in the first place. I think I need to do a bit more reading before I'm ready yet, but I will be doing it next. Thanks, Chris [Edit: I didn't 1 vote you - I think your suggestion has a lot of merit. So I gave you a 5 to redress the balance]

                modified on Wednesday, July 15, 2009 3:52 PM

                1 Reply Last reply
                0
                • J Jim Crafton

                  There's the Stroustrup book which isn't bad. This isn't a teaching resource, but if you get to the point where you'd actually like to start programming windows apps, you might give the VCF, written by yours truly, a glance. Lots of C++, and lots of neat features, similar to what you might find in .Net.

                  ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                  C Offline
                  C Offline
                  c2423
                  wrote on last edited by
                  #9

                  The book looks like it will be worth checking out. Your VCF looks very good, but it's not quite what I'm looking for this time. Maybe when I get some more experience it will be worth reading about a bit more. Thanks, Chris

                  1 Reply Last reply
                  0
                  • C Christian Graus

                    There's more C++ work where you live ? The stroustrup book is obviously essential, given that he created the language. If you find you use MFC a lot, then a MFC book may be more helpful, although you should use the standard library, and not MFC containers, for example.

                    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                    C Offline
                    C Offline
                    c2423
                    wrote on last edited by
                    #10

                    Yeah, I'm trying to get into an industry that is slightly behind (think lots of C++ legacy projects ready to move to C#) and they all want C++ and *cough*Java. This is the second reccomendation for Stroustrup, so looks like I will have to take the plunge... Thanks, Chris

                    C K R 3 Replies Last reply
                    0
                    • T ToddHileHoffer

                      Interesting that you are finding C++ required. Can I ask where you live? I have zero trouble finding work with no C++ experience.

                      I didn't get any requirements for the signature

                      S Offline
                      S Offline
                      Single Step Debugger
                      wrote on last edited by
                      #11

                      ToddHileHoffer wrote:

                      have zero trouble finding work with no C++ experience.

                      But in the show business, right?

                      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                      1 Reply Last reply
                      0
                      • T ToddHileHoffer

                        Interesting that you are finding C++ required. Can I ask where you live? I have zero trouble finding work with no C++ experience.

                        I didn't get any requirements for the signature

                        C Offline
                        C Offline
                        c2423
                        wrote on last edited by
                        #12

                        I live south of London, inside the M25. Don't get me wrong, I still do OK without the C++ it's just that it seems it would give me the edge over people when it comes to it. Recently I did 7 (yes, seven) rounds of interviews for a position for a C# position, and I eventually didn't get it coz I couldn't answer their C++ pointer questions.

                        L T N 3 Replies Last reply
                        0
                        • C c2423

                          Yeah, I'm trying to get into an industry that is slightly behind (think lots of C++ legacy projects ready to move to C#) and they all want C++ and *cough*Java. This is the second reccomendation for Stroustrup, so looks like I will have to take the plunge... Thanks, Chris

                          C Offline
                          C Offline
                          Christian Graus
                          wrote on last edited by
                          #13

                          c2423 wrote:

                          This is the second reccomendation for Stroustrup,

                          Well, it IS his language :-)

                          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                          A 1 Reply Last reply
                          0
                          • C c2423

                            I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

                            S Offline
                            S Offline
                            Single Step Debugger
                            wrote on last edited by
                            #14

                            You may consider Bruce Eckel’s “Thinking In C++” – its free for download I the web. It’s terrible book for learning C++, but is also perfect reference for the language with tons of examples and very deep look to templates. Do you have some C background?

                            The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                            C 1 Reply Last reply
                            0
                            • C c2423

                              I live south of London, inside the M25. Don't get me wrong, I still do OK without the C++ it's just that it seems it would give me the edge over people when it comes to it. Recently I did 7 (yes, seven) rounds of interviews for a position for a C# position, and I eventually didn't get it coz I couldn't answer their C++ pointer questions.

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

                              c2423 wrote:

                              C++ pointer questions

                              I'm not aware of any great differences with C# pointers, what are they? Besides not requiring the unsafe keyword to use..

                              S C 2 Replies Last reply
                              0
                              • L Lost User

                                c2423 wrote:

                                C++ pointer questions

                                I'm not aware of any great differences with C# pointers, what are they? Besides not requiring the unsafe keyword to use..

                                S Offline
                                S Offline
                                Single Step Debugger
                                wrote on last edited by
                                #16

                                Yes, but only C# programmers with strong C++ experience knows that the unsafe context exists in C#. ;)

                                The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                                T C D 3 Replies Last reply
                                0
                                • C c2423

                                  Thanks for the reccomendation - I just had a look at the contents on Amazon, and it does seem like a very good book for me to read! I'm not sure I'm quite that good at C++ yet but it looks like it will be very helpful when I get to that point. Thanks, Chris

                                  A Offline
                                  A Offline
                                  Anna Jayne Metcalfe
                                  wrote on last edited by
                                  #17

                                  Anytime! The nice thing about the Meyers books (there are a few others such as "More Effective C++" and "Effective STL") is that they teach you the common mistakes not to make, hopefully before you get into a habit of making them. :) Whereabouts in M25 land are you by the way? Beth and I are based in Bournemouth, but we've family in in Redhill so we tend to be up that way reasonably often. :beer:

                                  Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                                  C 1 Reply Last reply
                                  0
                                  • S Single Step Debugger

                                    Yes, but only C# programmers with strong C++ experience knows that the unsafe context exists in C#. ;)

                                    The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                                    T Offline
                                    T Offline
                                    ToddHileHoffer
                                    wrote on last edited by
                                    #18

                                    Exactly. I've never used the unsafe context in my 8 years of .net coding.

                                    I didn't get any requirements for the signature

                                    1 Reply Last reply
                                    0
                                    • C c2423

                                      I already know C# and I'm trying to learn C++ (it seems to be more required by employers.) All the reference material I have on C++ is geared to learning from absolute basics and I get tired of reading about the difference between ++x and x++ etc (I still read it in case there happens to be something subtle that I wouldn't already know.) So can anybody recommend any good resources that are comprehensive, but won't re-cover stuff thats the same in C#? Thanks, Chris

                                      N Offline
                                      N Offline
                                      Nemanja Trifunovic
                                      wrote on last edited by
                                      #19

                                      c2423 wrote:

                                      I already know C# and I'm trying to learn C++

                                      Two rules: 1) Forget everything you know about C# - despite similar syntax it is a *very* different language with different goals. 2) Get a recent book (not the Eckel's one). Stroustrup's Programming -- Principles and Practice Using C++[^] is probably pretty good for a beginner. Another good one is Accelerated C++[^] Good luck.

                                      Programming Blog utf8-cpp

                                      C K 2 Replies Last reply
                                      0
                                      • A Anna Jayne Metcalfe

                                        Anytime! The nice thing about the Meyers books (there are a few others such as "More Effective C++" and "Effective STL") is that they teach you the common mistakes not to make, hopefully before you get into a habit of making them. :) Whereabouts in M25 land are you by the way? Beth and I are based in Bournemouth, but we've family in in Redhill so we tend to be up that way reasonably often. :beer:

                                        Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                                        C Offline
                                        C Offline
                                        c2423
                                        wrote on last edited by
                                        #20

                                        I'm near Bromley.

                                        A 1 Reply Last reply
                                        0
                                        • L Lost User

                                          c2423 wrote:

                                          C++ pointer questions

                                          I'm not aware of any great differences with C# pointers, what are they? Besides not requiring the unsafe keyword to use..

                                          C Offline
                                          C Offline
                                          c2423
                                          wrote on last edited by
                                          #21

                                          No idea - I never need to use unsafe blocks in my code.

                                          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