Moving from C# to C++
-
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
-
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.
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
-
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
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.
-
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
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.
-
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
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.
-
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.
-
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
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.
-
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..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.
-
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
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"
-
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.
Exactly. I've never used the unsafe context in my 8 years of .net coding.
I didn't get any requirements for the signature
-
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
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.
-
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"
-
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.. -
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.
-
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.
-
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.
-
Not far away at all. Hang around here long enough, and sooner or later you may just run into Beth and I on our travels. :laugh:
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"
-
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.
Interesting. Back in 2001 when I was a report writer / sql programmer and learning .net, (on the job) the senior programmer told me not to bother with C++. He said, programming .net was much easier and that he would not even take another C++ job. So I never bothered to learn it. Anyway, that sucks that you had 7 interviews and you didn't get the job. That's really awful, they should have paid you for going to all those interviews. You probably don't want to work in a place that bureaucratic anyway. If you are looking to get ahead and make some serious money you might want to try learning to program sharepoint 2010 before it released. I have a feeling it is going to be very popular. And it looks like programming it will be much easier than the current version (which is painful).http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx[^] It is just my opinion. Perhaps C++ will get you where you want to be, but I decided to specialize in ASP.Net only back in 2001 and it has really worked out great. If programming SP 2010 is pretty painless, I'm going to really dive into that as well. Another trick is to really learn a 3rd party tool such as Telerik or Infragistics. If you can get your company to purchase you a license, becoming an expert with Telerik (or another popular 3rd party suite) will not only help you get a better job, you'll be able to make really slick front ends easily. Style over substance. Good luck!
I didn't get any requirements for the signature
-
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
Even if you don't get a job doing C++, it's a good thing to learn C++. It helps to learn where newer languages come from, and it helps to learn where the "missing features" are as well (full use of const in c# anybody?).
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Interesting. Back in 2001 when I was a report writer / sql programmer and learning .net, (on the job) the senior programmer told me not to bother with C++. He said, programming .net was much easier and that he would not even take another C++ job. So I never bothered to learn it. Anyway, that sucks that you had 7 interviews and you didn't get the job. That's really awful, they should have paid you for going to all those interviews. You probably don't want to work in a place that bureaucratic anyway. If you are looking to get ahead and make some serious money you might want to try learning to program sharepoint 2010 before it released. I have a feeling it is going to be very popular. And it looks like programming it will be much easier than the current version (which is painful).http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx[^] It is just my opinion. Perhaps C++ will get you where you want to be, but I decided to specialize in ASP.Net only back in 2001 and it has really worked out great. If programming SP 2010 is pretty painless, I'm going to really dive into that as well. Another trick is to really learn a 3rd party tool such as Telerik or Infragistics. If you can get your company to purchase you a license, becoming an expert with Telerik (or another popular 3rd party suite) will not only help you get a better job, you'll be able to make really slick front ends easily. Style over substance. Good luck!
I didn't get any requirements for the signature
All good points, but I am trying to position myself into a certain industry as part of a longer term plan. Unfortunately its hard to find jobs in the right area that don't need C++. I will take a look at the SharePoint 2010 though - I have already done some development for SharePoint so it would be good to see what new features there are. Thanks, Chris