Online Library TheLib.net » Starting Out with C++ - From Control Structures through Objects
cover of the book Starting Out with C++ - From Control Structures through Objects

Ebook: Starting Out with C++ - From Control Structures through Objects

Author: Tony Gaddis

00
12.02.2024
0
0
Description

A clear and student-friendly way to teach the fundamentals of C++

Starting Out with C++: From Control Structures through Objects covers control structures, functions, arrays, and pointers before objects and classes in Tony Gaddis’s hallmark accessible, step-by-step presentation. His books help beginning students understand the important details necessary to become skilled programmers at an introductory level. Gaddis motivates the study of both programming skills and the C++ programming language by presenting all the details needed to understand the “how” and the “why”–but never losing sight of the fact that most beginners struggle with this material. His approach is gradual and highly accessible, ensuring that students understand the logic behind developing high-quality programs. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter. Updates to the 9th Edition include revised, improved problems throughout and a new chapter featuring completely rewritten and expanded material on the Standard Template Library (STL).

------------------------------------------------

About the Book

The material on the Standard Template Library (STL) has been completely rewritten and expanded into its own chapter. Previously, Chapter 16 covered exceptions, templates, and covered the STL briefly. In this edition, Chapter 16 covers exceptions and templates, and Chapter 17 is a new chapter dedicated to the STL. The new chapter covers the following topics:

The array and vector classes

The various types of iterators

Emplacement versus insertion

The map, multimap, and unordered_map Classes

The set, multiset, and unordered_set Classes

Sorting and searching algorithms

Permutation algorithms

Set algorithms

Using function pointers with STL algorithms

Function objects, or functors

Lambda expressions

------

Chapter 2 now includes a discussion of alternative forms of variable initialization, including functional notation, and
brace notation (also known as uniform initialization).

Chapter 3 now mentions the round function, introduced in C++ 11.

Chapter 7 now introduces array initialization much earlier.

In Chapter 8, the bubble sort algorithm has been rewritten and improved.
A new example of sorting and searching a vector of strings has been added to Chapter 8.

In Chapter 9, the section on smart pointers now gives an overview of shared_ptrs and weak_ptrs, in addition to the existing coverage of unique_ptrs.

In Chapter 10, a new In the Spotlight section on string tokenizing has been added.
Chapter 10 now covers the string-to-number conversion functions that were introduced in C++ 11.

The material on unions that previously appeared in Chapter 11 has been moved to Appendix K, available on the book’s companion Website.

Chapter 13 has new sections covering:

Member initialization lists.

In-place initialization.

Constructor delegation.

Several new topics were added to Chapter 14, including:

Rvalue references and move semantics.

Checking for self-assignment when overloading the = operator.

Using member initialization lists in aggregate classes.

Chapter 15 includes a new section on constructor inheritance.

Several new programming problems have been added throughout the book.
Download the book Starting Out with C++ - From Control Structures through Objects for free or read online
Read Download
Continue reading on any device:
QR code
Last viewed books
Related books
Comments (0)
reload, if the code cannot be seen