C++ Primer, Fifth Edition
A comprehensive and authoritative guide to C++, completely rewritten for the C++11 standard. This course covers everything from basic language elements to complex library facilities and advanced class-authoring tools.
Course Overview
Content Summary
A comprehensive and authoritative guide to C++, completely rewritten for the C++11 standard. This course covers everything from basic language elements to complex library facilities and advanced class-authoring tools.
The definitive industry standard guide for mastering modern C++11 programming.
Author: Stanley B. Lippman, Josée Lajoie, Barbara E. Moo
Acknowledgments: Dave Abrahams, Andy Koenig, Stephan T. Lavavej, Jason Merrill, John Spicer, Herb Sutter, Bjarne Stroustrup, Alex Stepanov, and members of the standardization committee.
Learning Objectives
- Define and implement the
mainfunction and understand its interaction with the operating system. - Execute command-line compilation and manage basic I/O streams (
cin,cout). - Apply flow-of-control statements to solve iterative logic problems, such as counting occurrences.
- Implement logical structures to count and process consecutive occurrences of input data.
- Differentiate between assignment (
=) and equality (==) operators within control statements. - Use class objects (
Sales_item), access member functions via the dot operator, and include custom header files. - Distinguish between different primitive types and predict the outcomes of type conversions and unsigned arithmetic wrap-around.
- Implement C++11 features including list initialization,
nullptr,constexpr, and type deduction specifiers. - Differentiate between variable declarations and definitions, and apply scope rules to manage identifier visibility.
- Distinguish between references and pointers, and utilize
void*for generic memory handling.