Lecture Slides for the C++ Programming Language (Version: 2016-01-18)
Author | : Michael D. Adams |
Publisher | : Michael Adams |
Total Pages | : 921 |
Release | : 2016-01-18 |
ISBN-10 | : 9781550585834 |
ISBN-13 | : 1550585835 |
Rating | : 4/5 (34 Downloads) |
Download or read book Lecture Slides for the C++ Programming Language (Version: 2016-01-18) written by Michael D. Adams and published by Michael Adams. This book was released on 2016-01-18 with total page 921 pages. Available in PDF, EPUB and Kindle. Book excerpt: This document constitutes a detailed set of lecture slides on the C++ programming language and is current with the C++14 standard. Many aspects of the language are covered from introductory to more advanced. This material includes: language basics (objects, types, values, operators, expressions, control-flow constructs, functions, and namespaces), classes, templates (function, class, alias, and variable templates; template specialization; and variadic templates), lambda expressions, inheritance and run-time polymorphism, exceptions (exception safety, RAII, and smart pointers), rvalue references (move semantics and perfect forwarding), concurrency (sequential consistency, atomic memory operations, data races; threads, mutexes, condition variables, promises and futures, atomics, and fences; happens-before and synchronizes-with relationships; and sequentially-consistent and other memory models). A number of best practices, tips, and idioms regarding the use of the language are also presented. Some aspects of the C++ standard library are covered, including: containers, iterators, and algorithms; the std::vector and std::basic_string classes; I/O streams; and time measurement. Various general programming-related topics are also presented, such as material on: good programming practices, finite-precision arithmetic, and software documentation.