Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

C++ Classes for .NET Developers

DZone's Guide to

C++ Classes for .NET Developers

·
Free Resource
- What .NET Developers Must Know about C++ Classes

C++ has typical idioms and conventions that are expressed differently in C# or Java, if at all. Sometimes it's a matter of syntax, other times it's a conceptual consideration related to the absence of a managing runtime in native languages.

I'll explain some relevant differences in this post while showing more new C++11 features. You'll need an alternative tool to compile many of these samples, as Visual C++ 2012 isn't C++11 compatible. (Note that those instances of incompatibility with Visual C++ 2012 are marked with an asterisk (*) throughout this article). I used the MinGW toolchain with the Code::Blocks IDE to test the samples here.

...

image..."

What with C++ being the shiny and old new thing, this article is one that I'm going to have to read... Not that I'm going to be coding in C++ in the near future (if ever) I expect to be reading more C++ in the coming years. That and it's just good to keep feeding the brain new stuff, right?

Topics:

Published at DZone with permission of Greg Duncan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}