Abstract
C++ programs combine class types that encapsulate objects with procedural subroutines in order to embody the functionality of the application. This chapter presents these main language elements of C++ using a short, intuitive program that toggles an LED on a microcontroller output port pin. In addition, other language features are introduced including the syntax of C++, namespaces, the C++ standard library and optimization with compile time constants. This chapter uses our target system with the 8-bit microcontroller.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
AUTOSAR, Automotive Open System Architecture (2017). http://www.autosar.org
ISO/IEC, ISO/IEC 9899:1999 : Programming Languages – C (International Organization for Standardization, Geneva, 1999)
ISO/IEC, ISO/IEC 14882:2011 : Information Technology – Programming Languages – C++ (International Organization for Standardization, Geneva, 2011)
S. Meyers, Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition (Addison-Wesley, Boston, 2005)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer-Verlag GmbH Germany, part of Springer Nature
About this chapter
Cite this chapter
Kormanyos, C. (2021). Getting Started with Real-Time C++. In: Real-Time C++. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-62996-3_1
Download citation
DOI: https://doi.org/10.1007/978-3-662-62996-3_1
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-62995-6
Online ISBN: 978-3-662-62996-3
eBook Packages: Computer ScienceComputer Science (R0)