Book description
Upgrade your Code with C++
C++ is one of the most widely used languages for real-world software. In the hands of a knowledgeable programmer, C++ can produce small, efficient, and readable code that any programmer would be proud of.
Designed for intermediate to advanced programmers, C++ Crash Course cuts through the weeds to get you straight to the core of C++17, the most modern revision of the ISO standard. Part 1 covers the core of the C++ language, where you’ll learn about everything from types and functions, to the object life cycle and expressions. Part 2 introduces you to the C++ Standard Library and Boost Libraries, where you'll learn about all of the high-quality, fully-featured facilities available to you. You’ll cover special utility classes, data structures, and algorithms, and learn how to manipulate file systems and build high-performance programs that communicate over networks.
You'll learn all the major features of modern C++, including:
•Fundamental types, reference types, and user-defined types
•The object lifecycle including storage duration, memory management, exceptions, call stacks, and the RAII (resource acquisition is initialization) paradigm
•Compile-time polymorphism with templates and run-time polymorphism with virtual classes
•Advanced expressions, statements, and functions
•Smart pointers, data structures, dates and times, numerics, and probability/statistics facilities
•Containers, iterators, strings, and algorithms
•Streams and files, concurrency, networking, and application development
With well over 500 code samples and nearly 100 exercises, C++ Crash Course is sure to help you build a strong C++ foundation.
Covers C++17
Table of contents
- Cover Page
- Title Page
- Copyright Page
- About the Author
- About the Technical Reviewer
- Brief Contents
- Contents in Detail
- FOREWORD by Peter Bindels
- ACKNOWLEDGMENTS
- INTRODUCTION
- AN OVERTURE TO C PROGRAMMERS
- PART I THE C++ CORE LANGUAGE
- 1 UP AND RUNNING
- 2 TYPES
- 3 REFERENCE TYPES
- 4 THE OBJECT LIFE CYCLE
- 5 RUNTIME POLYMORPHISM
-
6 COMPILE-TIME POLYMORPHISM
- Templates
- Declaring Templates
- Named Conversion Functions
- mean: A Template Function Example
- SimpleUniquePointer: A Template Class Example
- Type Checking in Templates
- Concepts
- static_assert: The Preconcepts Stopgap
- Non-Type Template Parameters
- Variadic Templates
- Advanced Template Topics
- Template Source Code Organization
- Polymorphism at Runtime vs. Compile Time
- Summary
- 7 EXPRESSIONS
- 8 STATEMENTS
- 9 FUNCTIONS
- PART II C++ Libraries and Frameworks
- 10 TESTING
- 11 SMART POINTERS
- 12 UTILITIES
- 13 CONTAINERS
- 14 ITERATORS
- 15 STRINGS
- 16 STREAMS
- 17 FILESYSTEMS
- 18 ALGORITHMS
- 19 CONCURRENCY AND PARALLELISM
- 20 NETWORK PROGRAMMING WITH BOOST ASIO
- 21 WRITING APPLICATIONS
- INDEX
Product information
- Title: C++ Crash Course
- Author(s):
- Release date: September 2019
- Publisher(s): No Starch Press
- ISBN: 9781593278885
You might also like
book
Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards
Learn the C++ programming language in a structured, straightforward, and friendly manner. This book teaches the …
video
The Complete C++ Developer Course
Do you know that C++ is used by over 4 million developers worldwide? In the US, …
book
A Tour of C++, 3rd Edition
In A Tour of C++, Third Edition, Bjarne Stroustrup provides an overview of ISO C++, C++20, …
book
A Tour of C++, 2nd Edition
In Bjarne Stroustrup, the creator of C++, describes what constitutes modern C++. This concise, self-contained guide …