Embedded software article on C++

My latest article on embedded.com has been published here. I am looking at the differences [or, actually, the lack thereof] between classes and structures in C++. I have the impression that this is not a matter that is widely understood and I hope to bring some clarity. Here are the details:

Structures and classes in C++

C++ continues to be a minority language for embedded development but is commonly adopted by developers when projects become too large for C to be used efficiently. These developers are typically transitioning from C to C++ and the subtle differences between the languages represents a significant part of their learning curve. C++ has structures, like C does, by they are not the same. C++ has classes, which are remarkably similar to structures. This article unpicks the details of these language elements.

Want to stay up to date on news from Siemens Digital Industries Software? Click here to choose content that's right for you

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/embedded-software/2020/09/24/embedded-software-article-on-c/