Thought Leadership

Embedded software article on C++

By Colin Walls

My latest article on 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.

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at