Thought Leadership

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.

Colin Walls

I have over thirty years experience in the electronics industry, largely dedicated to embedded software. A frequent presenter at conferences and seminars and author of numerous technical articles and two books on embedded software, I am a member of the marketing team of the Mentor Graphics Embedded Systems Division, and am based in the UK. Away from work, I have a wide range of interests including photography and trying to point my two daughters in the right direction in life. Learn more about Colin, including his go-to karaoke song and the best parts of being British: http://go.mentor.com/3_acv

More from this author

Leave a Reply

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