Lecture Slides for Programming in C++ (Version 2019-02-04): The C++ Language, Libraries, Tools, and Other Topics

· Michael Adams
4.9
7 reviews
Ebook
2516
Pages
Eligible

About this ebook

This document, which consists of approximately 2500 lecture slides, offers a wealth of information on many topics relevant to programming in C++, including coverage of the C++ language itself, the C++ standard library and a variety of other libraries, numerous software tools, and an assortment of other programming-related topics.  The coverage of the C++ language and standard library is current with the C++17 standard.

C++ PROGRAMMING LANGUAGE.  Many aspects of the C++ language are covered from introductory to more advanced.  This material includes: the preprocessor, language basics (objects, types, values, operators, expressions, control-flow constructs, functions, and namespaces), classes, templates (function, class, variable, and alias templates, variadic templates, template specialization, and SFINAE), lambda expressions, inheritance (run-time polymorphism and CRTP), exceptions (exception safety and RAII), smart pointers, memory management (new and delete operators and expressions, placement new, and allocators), rvalue references (move semantics and perfect forwarding), concurrency (memory models, and happens-before and synchronizes-with relationships), compile-time computation, and various other topics (e.g., copy elision and initialization).

C++ STANDARD LIBRARY AND VARIOUS OTHER LIBRARIES.  Various aspects of the C++ standard library are covered including: containers, iterators, algorithms, I/O streams, time measurement, and concurrency support (threads, mutexes, condition variables, promises and futures, atomics, and fences).  A number of Boost libraries are discussed, including the Intrusive, Iterator, and Container libraries.  The OpenGL library and GLSL are discussed at length, along with several related libraries, including: GLFW, GLUT, and GLM.  The CGAL library is also discussed in some detail.

SOFTWARE TOOLS.  A variety of software tools are discussed, including: static analysis tools (e.g., Clang Tidy and Clang Static Analyzer), code sanitizers (e.g., ASan, LSan, MSan, TSan, and UBSan), debugging and testing tools (e.g., Valgrind, LLVM XRay, and Catch2), performance analysis tools (e.g., Perf, PAPI, Gprof, and Valgrind/Callgrind), build tools (e.g., CMake and Make), version control systems (e.g., Git), code coverage analysis tools (e.g., Gcov, LLVM Cov, and Lcov), online C++ compilers (e.g., Compiler Explorer and C++ Insights), and code completion tools (e.g., YouCompleteMe, and LSP clients/servers).
 

Ratings and reviews

4.9
7 reviews
mike demone
July 31, 2019
This is a fantastic book. Michael Adams has put so much time into these slides so people like me can go from knowing nothing about C++ to knowing quite a lot about it. Everything is easy to understand, has examples, and tons of references for further reading.
Did you find this helpful?
Matthew Paletta
August 6, 2019
One of the best learning resources for C++ 17 I've found! Super helpful, complete examples, and definitions. 10/10 recommended.
Did you find this helpful?
Alec Cox
August 1, 2019
The best learning material that I have had for a course. The materials are well constructed and excellently organised.
1 person found this review helpful
Did you find this helpful?

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.