We all learn best in our own way. In your question, you meant that you had already learned two languages, and you specifically asked about the ".NET developer", which also implies someone who has learned at least one language. So, how should a .NET developer learn C ++? Answer: In the same way, he learned the other (s) languages โโthat they know. If you learn best from books, get a book. If you learn how to better write a program, then do it. Use any methods that you have already proven to yourself.
In terms of content (not method), I suggest you learn about Visual C ++ / CLR, not just ANSI C ++, since your goal is to interact in the .NET environment. C ++ is well supported in the current .NET environment. There are quite a few differences, but I think you will be surprised how much this looks like C # or very similar to C #. I think you will also find that you do not need to learn the entire C ++ language to write interaction code. In fact, if your COM objects are small and simple, you may find that you can use a type library importer for interaction if for some reason you cannot or do not want to use C ++. There are some serious flaws and tradeoffs in this approach, so be sure to check out MSDN and MANY interop Q & A on stackoverflow for details.
Tarshall
source share