Beginning Modern C++

4th Edition

By Ivor Horton

Beginning Modern C++ Cover Image

Beginning Modern C++ is based on and supersedes Ivor Horton’s previous book, Beginning ANSI C++. This book is a tutorial for beginners in C++ and discusses a subset of C++ that is suitable for beginners. The language syntax will correspond to the proposed C++14 standard.

Full Description

  • ISBN13: 978-1-484200-08-7
  • 1120 Pages
  • User Level: Beginner to Advanced
  • Publishing November 4, 2014, but available now as part of the Alpha Program
  • Available eBook Formats: PDF
  • Print Book Price: $59.99
  • eBook Price: $41.99

Related Titles

Full Description

Beginning Modern C++ is based on and supersedes Ivor Horton’s previous book, Beginning ANSI C++. This book is a tutorial for beginners in C++ and discusses a subset of C++ that is suitable for beginners. The language syntax will correspond to the proposed C++14 standard. The book will be environment neutral and does not presume any specific operating system or program development system.

Some elements of the C++ standard library will be introduced. These will be the features that provide essential support for the language syntax that is discussed. While the Standard Template Library (STL) will not be discussed to a significant extent, a few elements from the STL that are important to the notion of modern C++ will be introduced.

All language concepts that are explained in the book will be illustrated with working program examples. The book also includes a more substantial example that is developed over several chapters. Most chapters include exercises for the reader to test their knowledge. Code downloads are provided for examples from the text and solutions to the exercises.

What you’ll learn

  • How to work with data types and do calculations in C++ 14
  • How to code with loops, arrays, strings, pointers, choices, decisions and more
  • How to program with functions and deal with program files and pre-processing directives
  • How to deal with data types and define your own data types, using classes and class operations
  • How to handle operator overloading, inheritance, virtual functions, polymorphisms, and errors/exception handling
  • How to use class templates and do input and output with C++
  • How to use the Standard Template Library
  • How to integrate these into a contemporary example project

Who this book is for

This book is for industry practitioners and students wanting to learn C++ and use this as a reference guide for their applications.

Table of Contents

Table of Contents

Chapter 1: Basic Ideas
Chapter 2: Introducing Fundamental Types of Data
Chapter 3: Working Fundamental Types
Chapter 4: Making Decisions
Chapter 5: Arrays and Loops
Chapter 6: Pointers and References
Chapter 7: Working with Strings
Chapter 8: Defining Functions
Chapter 9: Lambda Expressions
Chapter 10: Preprocessor directives
Chapter 11: Defining your own Data Types
Chapter 12: Operator Overloading
Chapter 13: Inheritance
Chapter 14: Virtual Functions and Polymorphism
Chapter 15: Runtime Errors and Exceptions
Chapter 16: Class Templates
Chapter 17: File Input and Output
Errata

Please Login to submit errata.

No errata are currently published